pub enum IPsecError {
PayloadTooSmall,
ExtraBytesInPayload,
PayloadParseError,
NomError(ErrorKind),
}
Variants§
Trait Implementations§
Source§impl Debug for IPsecError
impl Debug for IPsecError
Source§impl<I> ParseError<I> for IPsecError
impl<I> ParseError<I> for IPsecError
Source§fn from_error_kind(_input: I, kind: ErrorKind) -> Self
fn from_error_kind(_input: I, kind: ErrorKind) -> Self
Creates an error from the input position and an ErrorKind
Source§fn append(_input: I, _kind: ErrorKind, other: Self) -> Self
fn append(_input: I, _kind: ErrorKind, other: Self) -> Self
Combines an existing error with a new one created from the input
position and an ErrorKind. This is useful when backtracking
through a parse tree, accumulating error context on the way
Auto Trait Implementations§
impl Freeze for IPsecError
impl RefUnwindSafe for IPsecError
impl Send for IPsecError
impl Sync for IPsecError
impl Unpin for IPsecError
impl UnwindSafe for IPsecError
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