pub struct SendOptions {
pub reliability: Reliability,
pub channel: u8,
pub priority: RakPriority,
}Expand description
Send policy used when dispatching payloads to a peer.
Fields§
§reliability: ReliabilityRakNet reliability class for the outgoing frame.
channel: u8Ordering channel (used by ordered/sequenced reliabilities).
priority: RakPriorityPriority used by the session scheduler.
Trait Implementations§
Source§impl Clone for SendOptions
impl Clone for SendOptions
Source§fn clone(&self) -> SendOptions
fn clone(&self) -> SendOptions
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 SendOptions
impl Debug for SendOptions
Source§impl Default for SendOptions
impl Default for SendOptions
Source§impl PartialEq for SendOptions
impl PartialEq for SendOptions
impl Copy for SendOptions
impl Eq for SendOptions
impl StructuralPartialEq for SendOptions
Auto Trait Implementations§
impl Freeze for SendOptions
impl RefUnwindSafe for SendOptions
impl Send for SendOptions
impl Sync for SendOptions
impl Unpin for SendOptions
impl UnsafeUnpin for SendOptions
impl UnwindSafe for SendOptions
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