Enum routing::RoutingTableError
[−]
pub enum RoutingTableError { OwnNameDisallowed, PeerNameUnsuitable, AlreadyExists, CannotRoute, NoSuchPeer, InvariantViolation, }
Routing table error variants.
Variants
OwnNameDisallowed
Adding our own name to the routing table is disallowed.
PeerNameUnsuitable
The peer name to be added doesn't fall within any section in the routing table.
AlreadyExists
The peer name to be added already exists in the routing table.
CannotRoute
The destination section doesn't have enough members to satisfy the requested route.
NoSuchPeer
The target peer doesn't exist on the network. (If it did, it would be in our own section and we would know of it).
InvariantViolation
The routing table state violates the network invariant
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.