pub struct DefaultEnv;
Expand description
A default network namespace environment.
Its persistence directory is /var/run/netns
, which is for consistency with the ip-netns
tool.
See ip-netns for details.
Trait Implementations§
Source§impl Clone for DefaultEnv
impl Clone for DefaultEnv
Source§fn clone(&self) -> DefaultEnv
fn clone(&self) -> DefaultEnv
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DefaultEnv
impl Debug for DefaultEnv
Source§impl Default for DefaultEnv
impl Default for DefaultEnv
Source§fn default() -> DefaultEnv
fn default() -> DefaultEnv
Returns the “default value” for a type. Read more
Source§impl Env for DefaultEnv
impl Env for DefaultEnv
impl Copy for DefaultEnv
Auto Trait Implementations§
impl Freeze for DefaultEnv
impl RefUnwindSafe for DefaultEnv
impl Send for DefaultEnv
impl Sync for DefaultEnv
impl Unpin for DefaultEnv
impl UnwindSafe for DefaultEnv
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