pub enum SnoopEvent {
OnPacket {
host_device: String,
packet: SnoopPacket,
},
}
Variants§
OnPacket
Implementations§
source§impl SnoopEvent
impl SnoopEvent
pub fn into_on_packet(self) -> Option<(String, SnoopPacket)>
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