pub enum MsgType {
Add,
Del,
}
Expand description
The type of the message as it’s sent to netfilter. A message consists of an object, such as a
Table
, Chain
or Rule
for example, and a MsgType
to describe what to do with
that object. If a Table
object is sent with MsgType::Add
then that table will be added
to netfilter, if sent with MsgType::Del
it will be removed.
Variants§
Trait Implementations§
impl Copy for MsgType
impl Eq for MsgType
impl StructuralPartialEq for MsgType
Auto Trait Implementations§
impl Freeze for MsgType
impl RefUnwindSafe for MsgType
impl Send for MsgType
impl Sync for MsgType
impl Unpin for MsgType
impl UnwindSafe for MsgType
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