pub enum ReliabilityMode {
Reliable,
BestEffort,
LatestOnly,
Deadline,
}Expand description
Reliability mode requested for a packet kind or message class.
Variants§
Reliable
Require acknowledgement and allow retransmission.
BestEffort
Send without retransmission.
LatestOnly
Prefer the newest message and allow older messages to be dropped.
Deadline
Retransmit only while the engine-defined deadline remains valid.
Trait Implementations§
Source§impl Clone for ReliabilityMode
impl Clone for ReliabilityMode
Source§fn clone(&self) -> ReliabilityMode
fn clone(&self) -> ReliabilityMode
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 ReliabilityMode
Source§impl Debug for ReliabilityMode
impl Debug for ReliabilityMode
impl Eq for ReliabilityMode
Source§impl PartialEq for ReliabilityMode
impl PartialEq for ReliabilityMode
Source§fn eq(&self, other: &ReliabilityMode) -> bool
fn eq(&self, other: &ReliabilityMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReliabilityMode
Auto Trait Implementations§
impl Freeze for ReliabilityMode
impl RefUnwindSafe for ReliabilityMode
impl Send for ReliabilityMode
impl Sync for ReliabilityMode
impl Unpin for ReliabilityMode
impl UnsafeUnpin for ReliabilityMode
impl UnwindSafe for ReliabilityMode
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