pub enum WireGuardError {
Show 17 variants
DestinationBufferTooSmall,
IncorrectPacketLength,
UnexpectedPacket,
WrongPacketType,
WrongIndex,
WrongKey,
InvalidTai64nTimestamp,
WrongTai64nTimestamp,
InvalidMac,
InvalidAeadTag,
InvalidCounter,
DuplicateCounter,
InvalidPacket,
NoCurrentSession,
LockFailed,
ConnectionExpired,
UnderLoad,
}Variants§
DestinationBufferTooSmall
IncorrectPacketLength
UnexpectedPacket
WrongPacketType
WrongIndex
WrongKey
InvalidTai64nTimestamp
WrongTai64nTimestamp
InvalidMac
InvalidAeadTag
InvalidCounter
DuplicateCounter
InvalidPacket
NoCurrentSession
LockFailed
ConnectionExpired
UnderLoad
Trait Implementations§
Source§impl Debug for WireGuardError
impl Debug for WireGuardError
Source§impl<'a> From<WireGuardError> for TunnResult<'a>
impl<'a> From<WireGuardError> for TunnResult<'a>
Source§fn from(err: WireGuardError) -> TunnResult<'a>
fn from(err: WireGuardError) -> TunnResult<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WireGuardError
impl RefUnwindSafe for WireGuardError
impl Send for WireGuardError
impl Sync for WireGuardError
impl Unpin for WireGuardError
impl UnsafeUnpin for WireGuardError
impl UnwindSafe for WireGuardError
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