#[repr(u8)]pub enum Reliability {
Unreliable = 0,
UnreliableSequenced = 1,
Reliable = 2,
ReliableOrdered = 3,
ReliableSequenced = 4,
}Expand description
Delivery and ordering guarantees for a RakNet frame.
Variants§
Unreliable = 0
The frame may be lost or arrive out of order.
UnreliableSequenced = 1
Only the newest frame in the ordering stream is delivered.
Reliable = 2
The frame is retransmitted until acknowledged, without ordering guarantees.
ReliableOrdered = 3
The frame is retransmitted and delivered in order within its channel.
ReliableSequenced = 4
The frame is reliable, but older frames in its ordering stream may be skipped.
Implementations§
Trait Implementations§
Source§impl Clone for Reliability
impl Clone for Reliability
impl Copy for Reliability
Source§impl Debug for Reliability
impl Debug for Reliability
impl Eq for Reliability
Source§impl PartialEq for Reliability
impl PartialEq for Reliability
impl StructuralPartialEq for Reliability
Auto Trait Implementations§
impl Freeze for Reliability
impl RefUnwindSafe for Reliability
impl Send for Reliability
impl Sync for Reliability
impl Unpin for Reliability
impl UnsafeUnpin for Reliability
impl UnwindSafe for Reliability
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