Struct wireguard_control::InterfaceName [−][src]
pub struct InterfaceName(_);
Expand description
The name of a Wireguard interface device.
Implementations
Trait Implementations
Attempts to parse a Rust string as a valid Linux interface name.
Extra validation logic ported from iproute2
type Err = InvalidInterfaceName
type Err = InvalidInterfaceName
The associated error which can be returned from parsing.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InterfaceName
impl Send for InterfaceName
impl Sync for InterfaceName
impl Unpin for InterfaceName
impl UnwindSafe for InterfaceName
Blanket Implementations
Mutably borrows from an owned value. Read more