pub enum ExchangePattern {
InOnly,
InOut,
}Expand description
The exchange pattern (fire-and-forget or request-reply).
Variants§
InOnly
Fire-and-forget: message sent, no reply expected.
InOut
Request-reply: message sent, reply expected.
Trait Implementations§
Source§impl Clone for ExchangePattern
impl Clone for ExchangePattern
Source§fn clone(&self) -> ExchangePattern
fn clone(&self) -> ExchangePattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExchangePattern
impl Debug for ExchangePattern
Source§impl Default for ExchangePattern
impl Default for ExchangePattern
Source§fn default() -> ExchangePattern
fn default() -> ExchangePattern
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExchangePattern
impl PartialEq for ExchangePattern
impl Copy for ExchangePattern
impl Eq for ExchangePattern
impl StructuralPartialEq for ExchangePattern
Auto Trait Implementations§
impl Freeze for ExchangePattern
impl RefUnwindSafe for ExchangePattern
impl Send for ExchangePattern
impl Sync for ExchangePattern
impl Unpin for ExchangePattern
impl UnsafeUnpin for ExchangePattern
impl UnwindSafe for ExchangePattern
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