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

The node/client has not bootstrapped yet

Invalid State

Invalid requester or handler authorities

Failure to connect to an already connected node

Failure to connect to a group in handling a joining request

Received message having unknown type

Failed signature check

Not Enough signatures

Duplicate signatures

The list of owner keys is invalid

Duplicate request received

Failure to bootstrap off the provided endpoints

Node's new name doesn't fall within the specified target address range.

A client with client_restriction == true tried to send a message restricted to nodes.

Routing Table error

String errors

Interface error

i/o error

Crust error

Channel sending error

Current state is invalid for the operation

Serialisation Error

Asymmetric Decryption Failure

Unknown Connection

Invalid Destination

Connection to proxy node does not exist in proxy map

Connection to client does not exist in client map

Invalid Source

Attempted to use a node as a tunnel that is not directly connected

Decoded a user message with an unexpected hash.

Version check has failed

Candidate is unknown

Operation timed out

Failed validation of resource proof

Candidate is connected via a tunnel

Content of a received message is inconsistent.

Invalid Peer

The client's message indicated by the included hash digest has been rejected by the rate-limiter.

Invalid configuration

Trait Implementations

impl Debug for RoutingError
[src]

Formats the value using the given formatter.

impl From<RoutingTableError> for RoutingError
[src]

Performs the conversion.

impl From<Utf8Error> for RoutingError
[src]

Performs the conversion.

impl From<Error> for RoutingError
[src]

Performs the conversion.

impl From<InterfaceError> for RoutingError
[src]

Performs the conversion.

impl From<CrustError> for RoutingError
[src]

Performs the conversion.

impl From<SendError<Event>> for RoutingError
[src]

Performs the conversion.

impl From<SerialisationError> for RoutingError
[src]

Performs the conversion.

impl From<ConfigFileHandlerError> for RoutingError
[src]

Performs the conversion.