pub enum ShardedRuntimeCommand {
SendPayload {
addr: SocketAddr,
payload: Bytes,
reliability: Reliability,
channel: u8,
priority: RakPriority,
receipt_id: Option<u64>,
},
DisconnectPeer {
addr: SocketAddr,
},
}Variants§
SendPayload
DisconnectPeer
Fields
§
addr: SocketAddrTrait Implementations§
Source§impl Clone for ShardedRuntimeCommand
impl Clone for ShardedRuntimeCommand
Source§fn clone(&self) -> ShardedRuntimeCommand
fn clone(&self) -> ShardedRuntimeCommand
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 moreAuto Trait Implementations§
impl !Freeze for ShardedRuntimeCommand
impl RefUnwindSafe for ShardedRuntimeCommand
impl Send for ShardedRuntimeCommand
impl Sync for ShardedRuntimeCommand
impl Unpin for ShardedRuntimeCommand
impl UnsafeUnpin for ShardedRuntimeCommand
impl UnwindSafe for ShardedRuntimeCommand
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