Enum safe_network::routing::Error [−][src]
pub enum Error {}Show 22 variants
FailedSignature, CannotRoute, EmptyRecipientList, InvalidConfig { err: Qp2pError, }, CannotConnectEndpoint { err: Qp2pError, }, AddressNotReachable { err: Qp2pError, }, InvalidState, InvalidSrcLocation, InvalidDstLocation, InvalidMessage, InvalidSignatureShare, MissingSecretKeyShare, FailedSend(SocketAddr, XorName), ConnectionClosed, InvalidSectionChain(SecuredLinkedListError), Messaging(Error), ProposalError(ProposalError), InvalidPayload, TryJoinLater, NoMatchingSection, NoMatchingElder, NodeNotReachable(SocketAddr),
Expand description
Internal error.
Variants
Fields of InvalidConfig
err: Qp2pError
Fields of CannotConnectEndpoint
err: Qp2pError
Fields of AddressNotReachable
err: Qp2pError
FailedSend(SocketAddr, XorName)
InvalidSectionChain(SecuredLinkedListError)
Messaging(Error)
ProposalError(ProposalError)
NodeNotReachable(SocketAddr)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more