pub enum ServerMode {
Echo,
Mismatch,
}Expand description
Server mode for testing various correlation ID scenarios.
Variants§
Echo
Echo envelopes back with the same correlation ID.
Mismatch
Return envelopes with a different (mismatched) correlation ID.
Trait Implementations§
Source§impl Clone for ServerMode
impl Clone for ServerMode
Source§fn clone(&self) -> ServerMode
fn clone(&self) -> ServerMode
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 ServerMode
impl Debug for ServerMode
Source§impl Default for ServerMode
impl Default for ServerMode
Source§fn default() -> ServerMode
fn default() -> ServerMode
Returns the “default value” for a type. Read more
impl Copy for ServerMode
Auto Trait Implementations§
impl Freeze for ServerMode
impl RefUnwindSafe for ServerMode
impl Send for ServerMode
impl Sync for ServerMode
impl Unpin for ServerMode
impl UnsafeUnpin for ServerMode
impl UnwindSafe for ServerMode
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