pub enum Net {
Host,
None,
Pasta,
Slirp4netns,
Vpnkit,
LxcUserNic,
}
Expand description
A network driver used by rootlesskit.
Corresponds to the value passed to the --net
option.
Variants§
Host
The host
network driver.
None
No (none
) network driver.
Pasta
The pasta
network driver.
Slirp4netns
The slirp4netns
network driver.
Vpnkit
The vpnkit
network driver.
LxcUserNic
The lxc-user-nic
network driver.
Trait Implementations§
impl Copy for Net
impl Eq for Net
impl StructuralPartialEq for Net
Auto Trait Implementations§
impl Freeze for Net
impl RefUnwindSafe for Net
impl Send for Net
impl Sync for Net
impl Unpin for Net
impl UnwindSafe for Net
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