pub struct ExchangeBuilder { /* private fields */ }Expand description
Builds an Exchange incrementally and validates it on the final stage.
Implementations§
Source§impl ExchangeBuilder
impl ExchangeBuilder
Sourcepub fn with_name(self, name: impl Into<String>) -> Self
pub fn with_name(self, name: impl Into<String>) -> Self
Recreates this Exchange builder with the given name.
Sourcepub fn with_kind(self, kind: ExchangeKind) -> Self
pub fn with_kind(self, kind: ExchangeKind) -> Self
Recreates this Exchange builder with the given kind.
Sourcepub fn with_durable(self, durable: bool) -> Self
pub fn with_durable(self, durable: bool) -> Self
Recreates this Exchange builder with the given durable flag.
Sourcepub fn with_auto_delete(self, auto_delete: bool) -> Self
pub fn with_auto_delete(self, auto_delete: bool) -> Self
Recreates this Exchange builder with the given auto_delete flag.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExchangeBuilder
impl RefUnwindSafe for ExchangeBuilder
impl Send for ExchangeBuilder
impl Sync for ExchangeBuilder
impl Unpin for ExchangeBuilder
impl UnwindSafe for ExchangeBuilder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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