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 StructuralEq for PcapMode
impl StructuralPartialEq for PcapMode
Auto Trait Implementations
impl RefUnwindSafe for PcapMode
impl Send for PcapMode
impl Sync for PcapMode
impl Unpin for PcapMode
impl UnwindSafe for PcapMode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more