pub enum NetworkOperation {
DataDelivery {
data: Vec<u8>,
},
ProcessSendBuffer,
}Expand description
Network data operations
Variants§
DataDelivery
Deliver data to connection’s receive buffer
ProcessSendBuffer
Process next message from connection’s send buffer
Trait Implementations§
Source§impl Clone for NetworkOperation
impl Clone for NetworkOperation
Source§fn clone(&self) -> NetworkOperation
fn clone(&self) -> NetworkOperation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkOperation
impl Debug for NetworkOperation
Source§impl PartialEq for NetworkOperation
impl PartialEq for NetworkOperation
impl Eq for NetworkOperation
impl StructuralPartialEq for NetworkOperation
Auto Trait Implementations§
impl Freeze for NetworkOperation
impl RefUnwindSafe for NetworkOperation
impl Send for NetworkOperation
impl Sync for NetworkOperation
impl Unpin for NetworkOperation
impl UnwindSafe for NetworkOperation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)