pub enum VsockEvent {
ConnectionRequest(VsockConnId),
Connected(VsockConnId),
Received(VsockConnId, usize),
Disconnected(VsockConnId),
CreditUpdate(VsockConnId),
Unknown,
}Variants§
ConnectionRequest(VsockConnId)
Connected(VsockConnId)
Received(VsockConnId, usize)
Disconnected(VsockConnId)
CreditUpdate(VsockConnId)
Unknown
Trait Implementations§
Source§impl Clone for VsockEvent
impl Clone for VsockEvent
Source§fn clone(&self) -> VsockEvent
fn clone(&self) -> VsockEvent
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 VsockEvent
Source§impl Debug for VsockEvent
impl Debug for VsockEvent
impl Eq for VsockEvent
Source§impl PartialEq for VsockEvent
impl PartialEq for VsockEvent
Source§fn eq(&self, other: &VsockEvent) -> bool
fn eq(&self, other: &VsockEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VsockEvent
Auto Trait Implementations§
impl Freeze for VsockEvent
impl RefUnwindSafe for VsockEvent
impl Send for VsockEvent
impl Sync for VsockEvent
impl Unpin for VsockEvent
impl UnsafeUnpin for VsockEvent
impl UnwindSafe for VsockEvent
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