pub enum MeshUnderlayError {
HqMustNotAcceptUnderlay,
PlatformUnsupported {
os: &'static str,
hint: &'static str,
},
Unauthorized,
InvalidTransportKey,
InvalidAuthToken,
Path(String),
WireGuardDaemonNotInThisTip,
}Expand description
Errors for the tip-5 underlay slice (never carry token material).
Variants§
HqMustNotAcceptUnderlay
HQ / DialOnly must not accept underlay peers.
PlatformUnsupported
Win/mac (and non-Linux) underlay not implemented this tip.
Probe / action refused — token barrier failed (crypto session may still be up).
InvalidTransportKey
Transport key rejected (length / empty).
InvalidAuthToken
Auth token rejected at configuration time (empty / oversized).
Path(String)
I/O or framing failure on the underlay path.
WireGuardDaemonNotInThisTip
Full WireGuard / kernel TUN datapath not opened this tip.
Trait Implementations§
Source§impl Clone for MeshUnderlayError
impl Clone for MeshUnderlayError
Source§impl Debug for MeshUnderlayError
impl Debug for MeshUnderlayError
Source§impl Display for MeshUnderlayError
impl Display for MeshUnderlayError
impl Eq for MeshUnderlayError
Source§impl Error for MeshUnderlayError
impl Error for MeshUnderlayError
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 MeshUnderlayError
impl PartialEq for MeshUnderlayError
impl StructuralPartialEq for MeshUnderlayError
Auto Trait Implementations§
impl Freeze for MeshUnderlayError
impl RefUnwindSafe for MeshUnderlayError
impl Send for MeshUnderlayError
impl Sync for MeshUnderlayError
impl Unpin for MeshUnderlayError
impl UnsafeUnpin for MeshUnderlayError
impl UnwindSafe for MeshUnderlayError
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