pub enum NeighbourError {
InvalidValue {
kind: &'static str,
error: DecodeError,
},
UnknownNLA {
kind: u16,
error: DecodeError,
},
ParseNdaProtocol(RouteError),
ParseNla(NlaError),
}
Variants§
Trait Implementations§
Source§impl Debug for NeighbourError
impl Debug for NeighbourError
Source§impl Display for NeighbourError
impl Display for NeighbourError
Source§impl Error for NeighbourError
impl Error for NeighbourError
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 From<NlaError> for NeighbourError
impl From<NlaError> for NeighbourError
Source§impl From<RouteError> for NeighbourError
impl From<RouteError> for NeighbourError
Source§fn from(source: RouteError) -> Self
fn from(source: RouteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NeighbourError
impl RefUnwindSafe for NeighbourError
impl Send for NeighbourError
impl Sync for NeighbourError
impl Unpin for NeighbourError
impl UnwindSafe for NeighbourError
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