#[repr(u32)]
pub enum Hook {
Ingress,
Egress,
}
Expand description
Hooks allowed in the super::Family::NetDev
family.
Variants
Ingress
All inbound packets through the given device.
Egress
All outbound packets through the given device.
Auto Trait Implementations
impl RefUnwindSafe for Hook
impl Send for Hook
impl Sync for Hook
impl Unpin for Hook
impl UnwindSafe for Hook
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