pub enum ReliableMode {
None,
Ordered,
Unordered,
}Expand description
Reliable delivery mode for a data type.
Variants§
None
No reliable delivery/acknowledgement on the wire.
Ordered
Reliable delivery with strict ordering.
Unordered
Reliable delivery without ordering guarantees.
Trait Implementations§
Source§impl Clone for ReliableMode
impl Clone for ReliableMode
Source§fn clone(&self) -> ReliableMode
fn clone(&self) -> ReliableMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReliableMode
Source§impl Debug for ReliableMode
impl Debug for ReliableMode
impl Eq for ReliableMode
Source§impl Hash for ReliableMode
impl Hash for ReliableMode
Source§impl Ord for ReliableMode
impl Ord for ReliableMode
Source§fn cmp(&self, other: &ReliableMode) -> Ordering
fn cmp(&self, other: &ReliableMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReliableMode
impl PartialEq for ReliableMode
Source§fn eq(&self, other: &ReliableMode) -> bool
fn eq(&self, other: &ReliableMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReliableMode
impl PartialOrd for ReliableMode
impl StructuralPartialEq for ReliableMode
Auto Trait Implementations§
impl Freeze for ReliableMode
impl RefUnwindSafe for ReliableMode
impl Send for ReliableMode
impl Sync for ReliableMode
impl Unpin for ReliableMode
impl UnsafeUnpin for ReliableMode
impl UnwindSafe for ReliableMode
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