Enum routing::RoutingError [−][src]
pub enum RoutingError { NotBootstrapped, Terminated, BadAuthority, AlreadyConnected, AlreadyHandlingJoinRequest, UnknownMessageType, FailedSignature, NotEnoughSignatures, DuplicateSignatures, InvalidOwners, FilterCheckFailed, FailedToBootstrap, InvalidRelocationTargetRange, RejectedClientMessage, RoutingTable(RoutingTableError), Utf8(Utf8Error), Interface(InterfaceError), Io(Error), Crust(CrustError), SendEventError(SendError<Event>), InvalidStateForOperation, SerialisationError(SerialisationError), AsymmetricDecryptionFailure, UnknownConnection(PublicId), InvalidDestination, ProxyConnectionNotFound, ClientConnectionNotFound, InvalidSource, CannotTunnelThroughTunnel, HashMismatch, InvalidSuccessor, UnknownCandidate, TimedOut, FailedResourceProofValidation, CandidateIsTunnelling, InvalidMessage, InvalidPeer, ExceedsRateLimit(Digest256), ConfigError(ConfigFileHandlerError), }
The type of errors that can occur during handling of routing events.
Variants
NotBootstrapped
The node/client has not bootstrapped yet
Terminated
Invalid State
BadAuthority
Invalid requester or handler authorities
AlreadyConnected
Failure to connect to an already connected node
AlreadyHandlingJoinRequest
Failure to connect to a group in handling a joining request
UnknownMessageType
Received message having unknown type
FailedSignature
Failed signature check
NotEnoughSignatures
Not Enough signatures
DuplicateSignatures
Duplicate signatures
InvalidOwners
The list of owner keys is invalid
FilterCheckFailed
Duplicate request received
FailedToBootstrap
Failure to bootstrap off the provided endpoints
InvalidRelocationTargetRange
Node's new name doesn't fall within the specified target address range.
RejectedClientMessage
A client with client_restriction == true
tried to send a message restricted to nodes.
RoutingTable(RoutingTableError)
Routing Table error
Utf8(Utf8Error)
String errors
Interface(InterfaceError)
Interface error
Io(Error)
i/o error
Crust(CrustError)
Crust error
SendEventError(SendError<Event>)
Channel sending error
InvalidStateForOperation
Current state is invalid for the operation
SerialisationError(SerialisationError)
Serialisation Error
AsymmetricDecryptionFailure
Asymmetric Decryption Failure
UnknownConnection(PublicId)
Unknown Connection
InvalidDestination
Invalid Destination
ProxyConnectionNotFound
Connection to proxy node does not exist in proxy map
ClientConnectionNotFound
Connection to client does not exist in client map
InvalidSource
Invalid Source
CannotTunnelThroughTunnel
Attempted to use a node as a tunnel that is not directly connected
HashMismatch
Decoded a user message with an unexpected hash.
InvalidSuccessor
Version check has failed
UnknownCandidate
Candidate is unknown
TimedOut
Operation timed out
FailedResourceProofValidation
Failed validation of resource proof
CandidateIsTunnelling
Candidate is connected via a tunnel
InvalidMessage
Content of a received message is inconsistent.
InvalidPeer
Invalid Peer
ExceedsRateLimit(Digest256)
The client's message indicated by the included hash digest has been rejected by the rate-limiter.
ConfigError(ConfigFileHandlerError)
Invalid configuration
Trait Implementations
impl Debug for RoutingError
[src]
impl Debug for RoutingError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<RoutingTableError> for RoutingError
[src]
impl From<RoutingTableError> for RoutingError
fn from(error: RoutingTableError) -> RoutingError
[src]
fn from(error: RoutingTableError) -> RoutingError
Performs the conversion.
impl From<Utf8Error> for RoutingError
[src]
impl From<Utf8Error> for RoutingError
fn from(error: Utf8Error) -> RoutingError
[src]
fn from(error: Utf8Error) -> RoutingError
Performs the conversion.
impl From<Error> for RoutingError
[src]
impl From<Error> for RoutingError
fn from(error: Error) -> RoutingError
[src]
fn from(error: Error) -> RoutingError
Performs the conversion.
impl From<InterfaceError> for RoutingError
[src]
impl From<InterfaceError> for RoutingError
fn from(error: InterfaceError) -> RoutingError
[src]
fn from(error: InterfaceError) -> RoutingError
Performs the conversion.
impl From<CrustError> for RoutingError
[src]
impl From<CrustError> for RoutingError
fn from(error: CrustError) -> RoutingError
[src]
fn from(error: CrustError) -> RoutingError
Performs the conversion.
impl From<SendError<Event>> for RoutingError
[src]
impl From<SendError<Event>> for RoutingError
fn from(error: SendError<Event>) -> RoutingError
[src]
fn from(error: SendError<Event>) -> RoutingError
Performs the conversion.
impl From<SerialisationError> for RoutingError
[src]
impl From<SerialisationError> for RoutingError
fn from(error: SerialisationError) -> RoutingError
[src]
fn from(error: SerialisationError) -> RoutingError
Performs the conversion.
impl From<ConfigFileHandlerError> for RoutingError
[src]
impl From<ConfigFileHandlerError> for RoutingError
fn from(error: ConfigFileHandlerError) -> RoutingError
[src]
fn from(error: ConfigFileHandlerError) -> RoutingError
Performs the conversion.
Auto Trait Implementations
impl Send for RoutingError
impl Send for RoutingError
impl !Sync for RoutingError
impl !Sync for RoutingError