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
impl Copy for ReliableMode
Source§impl Debug for ReliableMode
impl Debug for ReliableMode
Source§impl<'de> Deserialize<'de> for ReliableMode
impl<'de> Deserialize<'de> for ReliableMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReliableMode
Source§impl Hash for ReliableMode
impl Hash for ReliableMode
Source§impl Ord for ReliableMode
impl Ord for ReliableMode
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReliableMode
impl PartialEq for ReliableMode
Source§impl PartialOrd for ReliableMode
impl PartialOrd for ReliableMode
Source§impl Serialize for ReliableMode
impl Serialize 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