pub struct QueueProcessorBuilder { /* private fields */ }
Implementations§
Source§impl QueueProcessorBuilder
impl QueueProcessorBuilder
pub fn build(self) -> Result<QueueProcessor, QueueError>
pub fn events_rx(self, rx: NotificationReceiver) -> Self
pub fn run_tx(self, tx: NotificationSender) -> Self
pub fn db(self, db: Db) -> Self
pub fn broker(self, broker: Broker) -> Self
Trait Implementations§
Source§impl Default for QueueProcessorBuilder
impl Default for QueueProcessorBuilder
Source§fn default() -> QueueProcessorBuilder
fn default() -> QueueProcessorBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueueProcessorBuilder
impl !RefUnwindSafe for QueueProcessorBuilder
impl Send for QueueProcessorBuilder
impl !Sync for QueueProcessorBuilder
impl Unpin for QueueProcessorBuilder
impl !UnwindSafe for QueueProcessorBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more