Enum safe_network::routing::Error [−][src]
pub enum Error {
Show 44 variants
FailedSignature,
UntrustedSectionAuthProvider(String),
UntrustedProofChain(String),
CannotRoute(usize, usize),
EmptyRecipientList,
BootstrapFailed,
CannotConnectEndpoint {
err: EndpointError,
},
AddressNotReachable {
err: RpcError,
},
InvalidState,
InvalidSrcLocation,
InvalidDstLocation(String),
InvalidMessage,
InvalidSignatureShare,
MissingSecretKeyShare,
FailedSend(SocketAddr, XorName),
ConnectionClosed,
InvalidSectionChain(SecuredLinkedListError),
Messaging(Error),
ProposalError(ProposalError),
InvalidPayload,
TryJoinLater,
NoMatchingSection,
NoMatchingElder,
NodeNotReachable(SocketAddr),
Database(Error),
NoAdults(Prefix),
NoSectionPublicKey,
NoSectionPublicKeySet,
NoSectionPublicKeyKnown(XorName),
NoSuchData(DataAddress),
TempDirCreationFailed(String),
DataExists,
Io(Error),
JsonSerialisation(Error),
Bincode(Error),
ServiceMsg(Error),
NetworkData(Error),
InvalidOwner(PublicKey),
InvalidOperation(String),
NoErrorMapping(String),
Logic(String),
JoinTimeout,
Configuration(String),
InvalidQueryResponseAuthority,
}Expand description
Internal error.
Variants
UntrustedSectionAuthProvider(String)Tuple Fields of UntrustedSectionAuthProvider
0: StringUntrustedProofChain(String)Tuple Fields of UntrustedProofChain
0: StringFields of CannotConnectEndpoint
err: EndpointErrorFields of AddressNotReachable
err: RpcErrorInvalidDstLocation(String)Tuple Fields of InvalidDstLocation
0: StringFailedSend(SocketAddr, XorName)Tuple Fields of FailedSend
0: SocketAddr1: XorNameInvalidSectionChain(SecuredLinkedListError)Tuple Fields of InvalidSectionChain
Messaging(Error)Tuple Fields of Messaging
0: ErrorProposalError(ProposalError)Tuple Fields of ProposalError
NodeNotReachable(SocketAddr)Tuple Fields of NodeNotReachable
0: SocketAddrDatabase error.
NoAdults(Prefix)Not enough in the section to perform Chunk operation
Tuple Fields of NoAdults
0: PrefixNot Section PublicKey.
Not Section PublicKeySet.
NoSectionPublicKeyKnown(XorName)Not Section PublicKey.
Tuple Fields of NoSectionPublicKeyKnown
0: XorNameNoSuchData(DataAddress)Key, Value pair not found.
Tuple Fields of NoSuchData
0: DataAddressTempDirCreationFailed(String)Creating temp directory failed.
Tuple Fields of TempDirCreationFailed
0: StringChunk already exists for this node
Io(Error)I/O error.
Tuple Fields of Io
0: ErrorJsonSerialisation(Error)JSON serialisation error.
Tuple Fields of JsonSerialisation
0: ErrorBincode(Error)Bincode error.
Tuple Fields of Bincode
0: ErrorServiceMsg(Error)Network service message error.
Tuple Fields of ServiceMsg
0: ErrorNetworkData(Error)Network data error.
Tuple Fields of NetworkData
0: ErrorInvalidOwner(PublicKey)Data owner provided is invalid.
Tuple Fields of InvalidOwner
0: PublicKeyInvalidOperation(String)Operation is invalid, eg signing validation
Tuple Fields of InvalidOperation
0: StringNoErrorMapping(String)No mapping to sn_messages::Error could be found. Either we need a new error there, or we need to handle or convert this error before sending it as a message
Tuple Fields of NoErrorMapping
0: StringLogic(String)Logic error.
Tuple Fields of Logic
0: StringTimeout when trying to join the network
Configuration(String)Configuration error.
Tuple Fields of Configuration
0: StringConfiguration error.
Trait Implementations
Performs the conversion.
Performs the conversion.
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
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