pub enum SnoopEvent {
OnObservePacket {
payload: SnoopOnObservePacketRequest,
},
OnDroppedPackets {
payload: SnoopOnDroppedPacketsRequest,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
OnObservePacket
Fields
§
payload: SnoopOnObservePacketRequest
OnDroppedPackets
Fields
§
payload: SnoopOnDroppedPacketsRequest
_UnknownEvent
Implementations§
Source§impl SnoopEvent
impl SnoopEvent
pub fn into_on_observe_packet(self) -> Option<SnoopOnObservePacketRequest>
pub fn into_on_dropped_packets(self) -> Option<SnoopOnDroppedPacketsRequest>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SnoopEvent
impl RefUnwindSafe for SnoopEvent
impl Send for SnoopEvent
impl Sync for SnoopEvent
impl Unpin for SnoopEvent
impl UnwindSafe for SnoopEvent
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