Main queue interface for interacting with the message broker. `BroccoliQueue` provides methods for publishing and consuming messages, as well as processing messages with custom handlers.
| 405 | /// `BroccoliQueue` provides methods for publishing and consuming messages, |
| 406 | /// as well as processing messages with custom handlers. |
| 407 | pub struct BroccoliQueue { |
| 408 | /// The underlying message broker implementation |
| 409 | #[cfg(not(feature = "management"))] |
| 410 | broker: Arc<Box<dyn Broker>>, |
| 411 | |
| 412 | #[cfg(feature = "management")] |
| 413 | broker: Arc<Box<dyn BrokerWithManagement>>, |
| 414 | } |
| 415 | |
| 416 | impl Clone for BroccoliQueue { |
| 417 | fn clone(&self) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected