pub enum RouteResolvingError {
InvalidRoot(String),
NoRoute(String),
Unreachable(String),
SameSourceDest(String, String),
Topology(TopologyError),
NodeSet(NodeSetError),
}Expand description
Errors raised during route resolving operations.
Variants§
InvalidRoot(String)
Invalid root or gateway node.
NoRoute(String)
No route available to the destination.
Unreachable(String)
Destination host is unreachable.
SameSourceDest(String, String)
Source equals destination.
Topology(TopologyError)
Topology error.
NodeSet(NodeSetError)
NodeSet error.
Trait Implementations§
Source§impl Debug for RouteResolvingError
impl Debug for RouteResolvingError
Source§impl Display for RouteResolvingError
impl Display for RouteResolvingError
Source§impl Error for RouteResolvingError
impl Error for RouteResolvingError
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<NodeSetError> for RouteResolvingError
impl From<NodeSetError> for RouteResolvingError
Source§fn from(source: NodeSetError) -> Self
fn from(source: NodeSetError) -> Self
Converts to this type from the input type.
Source§impl From<TopologyError> for RouteResolvingError
impl From<TopologyError> for RouteResolvingError
Source§fn from(source: TopologyError) -> Self
fn from(source: TopologyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RouteResolvingError
impl RefUnwindSafe for RouteResolvingError
impl Send for RouteResolvingError
impl Sync for RouteResolvingError
impl Unpin for RouteResolvingError
impl UnsafeUnpin for RouteResolvingError
impl UnwindSafe for RouteResolvingError
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