pub enum WgBindError {
Unspecified,
PortZero,
NotOnTunnel {
got: IpAddr,
expected: IpAddr,
},
SamePort,
LoopbackInProduction,
}Variants§
Trait Implementations§
Source§impl Clone for WgBindError
impl Clone for WgBindError
Source§impl Debug for WgBindError
impl Debug for WgBindError
Source§impl Display for WgBindError
impl Display for WgBindError
impl Eq for WgBindError
Source§impl Error for WgBindError
impl Error for WgBindError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for WgBindError
impl PartialEq for WgBindError
impl StructuralPartialEq for WgBindError
Auto Trait Implementations§
impl Freeze for WgBindError
impl RefUnwindSafe for WgBindError
impl Send for WgBindError
impl Sync for WgBindError
impl Unpin for WgBindError
impl UnsafeUnpin for WgBindError
impl UnwindSafe for WgBindError
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