pub enum NodeEventKind {
StatusChanged {
run_state: NodeRunState,
lifecycle_state: Option<NodeLifecycleState>,
},
Log {
level: NodeLogLevel,
code: u32,
},
Error {
error: NodeError,
frame_kind: u8,
sequence: u32,
},
PacketReceived {
frame_kind: u8,
sequence: u32,
bytes: usize,
},
PacketSent {
frame_kind: u8,
sequence: u32,
bytes: usize,
},
Extension {
extension_id: u32,
value0: u64,
value1: u64,
},
}Variants§
Trait Implementations§
Source§impl Clone for NodeEventKind
impl Clone for NodeEventKind
Source§fn clone(&self) -> NodeEventKind
fn clone(&self) -> NodeEventKind
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 moreSource§impl Debug for NodeEventKind
impl Debug for NodeEventKind
impl Eq for NodeEventKind
Source§impl PartialEq for NodeEventKind
impl PartialEq for NodeEventKind
Source§fn eq(&self, other: &NodeEventKind) -> bool
fn eq(&self, other: &NodeEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeEventKind
Auto Trait Implementations§
impl Freeze for NodeEventKind
impl RefUnwindSafe for NodeEventKind
impl Send for NodeEventKind
impl Sync for NodeEventKind
impl Unpin for NodeEventKind
impl UnsafeUnpin for NodeEventKind
impl UnwindSafe for NodeEventKind
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