pub enum PcapMode {
Both,
RxOnly,
TxOnly,
}
Expand description
Packet capture mode.
Variants§
Both
Capture both received and transmitted packets.
RxOnly
Capture only received packets.
TxOnly
Capture only transmitted packets.
Trait Implementations§
impl Copy for PcapMode
impl Eq for PcapMode
impl StructuralPartialEq for PcapMode
Auto Trait Implementations§
impl Freeze for PcapMode
impl RefUnwindSafe for PcapMode
impl Send for PcapMode
impl Sync for PcapMode
impl Unpin for PcapMode
impl UnwindSafe for PcapMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)