pub enum RouteFailure {
NoParent,
NoChildren,
TargetNotFound,
NoPeers,
TtlExpired,
MessageTooLarge,
}Expand description
Reason for routing failure
Variants§
NoParent
No parent available for upward routing
NoChildren
No children for downward routing
TargetNotFound
Target node not found in topology
NoPeers
No peers connected
TtlExpired
TTL expired
MessageTooLarge
Message too large
Trait Implementations§
Source§impl Clone for RouteFailure
impl Clone for RouteFailure
Source§fn clone(&self) -> RouteFailure
fn clone(&self) -> RouteFailure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouteFailure
impl Debug for RouteFailure
Source§impl PartialEq for RouteFailure
impl PartialEq for RouteFailure
impl Copy for RouteFailure
impl Eq for RouteFailure
impl StructuralPartialEq for RouteFailure
Auto Trait Implementations§
impl Freeze for RouteFailure
impl RefUnwindSafe for RouteFailure
impl Send for RouteFailure
impl Sync for RouteFailure
impl Unpin for RouteFailure
impl UnwindSafe for RouteFailure
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