Struct moka::notification::ConfigurationBuilder
source · pub struct ConfigurationBuilder { /* private fields */ }
Available on crate features
sync
or future
only.Expand description
Builds a Configuration
with some configuration knobs.
Currently only setting the DeliveryMode
is supported.
Implementations§
source§impl ConfigurationBuilder
impl ConfigurationBuilder
pub fn build(self) -> Configuration
pub fn delivery_mode(self, mode: DeliveryMode) -> Self
Trait Implementations§
source§impl Default for ConfigurationBuilder
impl Default for ConfigurationBuilder
source§fn default() -> ConfigurationBuilder
fn default() -> ConfigurationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConfigurationBuilder
impl Send for ConfigurationBuilder
impl Sync for ConfigurationBuilder
impl Unpin for ConfigurationBuilder
impl UnwindSafe for ConfigurationBuilder
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