pub enum PfCmd {
Add {
hosts: Vec<String>,
},
Delete {
hosts: Vec<String>,
},
Test {
hosts: Vec<String>,
},
Flush,
}
Variants§
Add
Adds a host/hostname to table
Delete
Removes a host/hostname from table
Test
Checks if host/hostname presents in table
Flush
Flushes the
Auto Trait Implementations§
impl Freeze for PfCmd
impl RefUnwindSafe for PfCmd
impl Send for PfCmd
impl Sync for PfCmd
impl Unpin for PfCmd
impl UnwindSafe for PfCmd
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