Enum safe_network::routing::Error [−][src]
pub enum Error {}Show 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), ExtendSignedChainError(ExtendSignedChainError), InvalidPayload, TryJoinLater, NoMatchingSection, NoMatchingElder, NodeNotReachable(SocketAddr),
Expand description
Internal error.
Variants
Show fields
Fields of InvalidConfig
err: Qp2pError
Show fields
Fields of CannotConnectEndpoint
err: Qp2pError
Show fields
Fields of AddressNotReachable
err: Qp2pError
FailedSend(SocketAddr, XorName)
InvalidSectionChain(SecuredLinkedListError)
Messaging(Error)
NodeNotReachable(SocketAddr)
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. 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