#[repr(u32)]
pub enum Direction {
InOut,
In,
Out,
}
Expand description
The direction of packets to be captured. Use with Capture::direction
.
Variants
InOut
Capture packets received by or sent by the device. This is the default.
In
Only capture packets received by the device.
Out
Only capture packets sent by the device.
Trait Implementations
impl Copy for Direction
impl Eq for Direction
impl StructuralEq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more