pub struct ConfigurationBuilder { /* private fields */ }
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 Freeze for ConfigurationBuilder
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