pub enum Commands {
IpTables(IpTablesCommands),
Fs(FsCommands),
}
Expand description
A wrapper around all commands.
Variants§
IpTables(IpTablesCommands)
All iptables
related commands.
Fs(FsCommands)
All file-system related commands.
Trait Implementations§
Source§impl From<FsCommands> for Commands
impl From<FsCommands> for Commands
Source§fn from(command: FsCommands) -> Self
fn from(command: FsCommands) -> Self
Converts to this type from the input type.
Source§impl From<IpTablesCommands> for Commands
impl From<IpTablesCommands> for Commands
Source§fn from(command: IpTablesCommands) -> Self
fn from(command: IpTablesCommands) -> Self
Converts to this type from the input type.
impl Eq for Commands
impl StructuralPartialEq for Commands
Auto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.