pub enum PortDriver {
None,
Implicit,
Builtin,
Slirp4netns,
}
Expand description
A port driver for the non-host network of rootlesskit.
Variants§
None
No (none
) port driver.
Implicit
The implicit
port driver (for Net::Pasta
).
Builtin
The builtin
port driver.
Slirp4netns
The slirp4netns
port driver.
Trait Implementations§
Source§impl Clone for PortDriver
impl Clone for PortDriver
Source§fn clone(&self) -> PortDriver
fn clone(&self) -> PortDriver
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 PortDriver
impl Debug for PortDriver
Source§impl Default for PortDriver
impl Default for PortDriver
Source§fn default() -> PortDriver
fn default() -> PortDriver
Returns the “default value” for a type. Read more
Source§impl Display for PortDriver
impl Display for PortDriver
Source§impl PartialEq for PortDriver
impl PartialEq for PortDriver
impl Copy for PortDriver
impl Eq for PortDriver
impl StructuralPartialEq for PortDriver
Auto Trait Implementations§
impl Freeze for PortDriver
impl RefUnwindSafe for PortDriver
impl Send for PortDriver
impl Sync for PortDriver
impl Unpin for PortDriver
impl UnwindSafe for PortDriver
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