pub trait QueueDeclarations: Send + Sync {
// Required method
fn declaration_for(&self, task_queue: &str) -> QueueDeclaration;
}Expand description
A reader over the deployed queue declarations.
Required Methods§
Sourcefn declaration_for(&self, task_queue: &str) -> QueueDeclaration
fn declaration_for(&self, task_queue: &str) -> QueueDeclaration
Answer for one task queue. Implementations never fail: an unreadable
catalog is QueueDeclaration::Unknown, reported by the implementation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".