pub struct QueueAdderBuilder { /* private fields */ }
Implementations§
Source§impl QueueAdderBuilder
impl QueueAdderBuilder
pub fn build(self) -> Result<QueueAdder, AdderError>
pub fn events_tx(self, tx: NotificationSender) -> Self
pub fn db(self, db: Db) -> Self
pub fn filters(self, filters: &[EventFilter]) -> Self
Trait Implementations§
Source§impl Default for QueueAdderBuilder
impl Default for QueueAdderBuilder
Source§fn default() -> QueueAdderBuilder
fn default() -> QueueAdderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueueAdderBuilder
impl !RefUnwindSafe for QueueAdderBuilder
impl Send for QueueAdderBuilder
impl !Sync for QueueAdderBuilder
impl Unpin for QueueAdderBuilder
impl !UnwindSafe for QueueAdderBuilder
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