Enum routing::RoutingError [] [src]

pub enum RoutingError {
    NotBootstrapped,
    Terminated,
    BadAuthority,
    AlreadyConnected,
    UnknownMessageType,
    FailedSignature,
    NotEnoughSignatures,
    DuplicateSignatures,
    InvalidOwners,
    FilterCheckFailed,
    FailedToBootstrap,
    RoutingTableEmpty,
    RejectedPublicId,
    RefusedFromRoutingTable,
    RejectedGetCloseGroup,
    RejectedClientMessage,
    Utf8(Utf8Error),
    Interface(InterfaceError),
    Io(Error),
    Crust(CrustError),
    SendEventError(SendError<Event>),
    InvalidStateForOperation,
    SerialisationError(SerialisationError),
    AsymmetricDecryptionFailure,
    UnknownConnection(PeerId),
    DirectionCheckFailed,
    RoutingTableBucketIndexFailed,
    InvalidDestination,
    ProxyConnectionNotFound,
    ClientConnectionNotFound,
    InvalidSource,
    CannotTunnelThroughTunnel,
    HashMismatch,
}

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

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

Unexpected empty routing table

Public id rejected because of disallowed relocated status

Routing table did not add the node information, either because it was already added, or because it did not improve the routing table

Rejected providing the close group, because the destination address does not match any of the sender's buckets

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

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

The message is not getting closer to the target

Density mismatch

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.

Trait Implementations

impl Debug for RoutingError
[src]

Formats the value using the given formatter.

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.