Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/dispatch_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ use parking_lot::Mutex;
/// Constructed by the facade/queue layer and owned as `Arc<dyn DispatchEngine>`.
/// All methods are `&self`; implementations use interior mutability to allow
/// concurrent use across tokio tasks.
// async_trait stamps `#[must_use]` with no message on the boxed future it
// returns, and a newer clippy rejects that as double_must_use because the
// boxed future is already must-use. The attribute is macro-generated, so the
// suppression has to sit on the trait rather than the method.
#[allow(clippy::double_must_use)]
#[async_trait::async_trait]
pub trait DispatchEngine: Send + Sync {
/// Spawn workers for all currently enabled servers and start the
Expand Down