Enum safe_network::node::Error
source · [−]pub enum Error {
Show 45 variants
AtMaxServiceCommandThroughput,
CouldNotGetPermitInTime,
SemaphoreClosed,
SendOrHandlingNormalMsg,
PermitAcquisitionFailed,
UntrustedSectionAuthProvider(String),
UntrustedProofChain(String),
InvalidGenesisKey(PublicKey),
CannotRoute(usize, usize),
EmptyRecipientList,
BootstrapFailed,
CannotConnectEndpoint(EndpointError),
AddressNotReachable(RpcError),
InvalidState,
InvalidSrcLocation,
InvalidMessage,
InvalidSignatureShare,
MissingSecretKeyShare(PublicKey),
FailedSend(SocketAddr, XorName),
ConnectionClosed,
InvalidSectionChain(SecuredLinkedListError),
Messaging(Error),
InvalidPayload,
TryJoinLater,
NoMatchingSection,
AlreadyJoinedTheNetwork,
NoMatchingElder,
NodeNotReachable(SocketAddr),
JoinTimeout,
Database(Error),
NoAdults(Prefix),
NoSectionPublicKey,
NoSectionPublicKeySet,
NoSectionPublicKeyKnown(XorName),
NoSuchData(DataAddress),
DataExists,
Io(Error),
JsonSerialisation(Error),
Bincode(Error),
ServiceMsg(Error),
NetworkData(Error),
InvalidOwner(PublicKey),
Configuration(String),
InvalidQueryResponseAuthority,
Sled(Error),
}
Expand description
Internal error.
Variants
AtMaxServiceCommandThroughput
CouldNotGetPermitInTime
SemaphoreClosed
SendOrHandlingNormalMsg
PermitAcquisitionFailed
UntrustedSectionAuthProvider(String)
UntrustedProofChain(String)
InvalidGenesisKey(PublicKey)
CannotRoute(usize, usize)
EmptyRecipientList
BootstrapFailed
CannotConnectEndpoint(EndpointError)
AddressNotReachable(RpcError)
InvalidState
InvalidSrcLocation
InvalidMessage
InvalidSignatureShare
MissingSecretKeyShare(PublicKey)
FailedSend(SocketAddr, XorName)
ConnectionClosed
InvalidSectionChain(SecuredLinkedListError)
Messaging(Error)
InvalidPayload
TryJoinLater
NoMatchingSection
AlreadyJoinedTheNetwork
NoMatchingElder
NodeNotReachable(SocketAddr)
JoinTimeout
Timeout when trying to join the network
Database(Error)
Database error.
NoAdults(Prefix)
Not enough in the section to perform Chunk operation
NoSectionPublicKey
Not Section PublicKey.
NoSectionPublicKeySet
Not Section PublicKeySet.
NoSectionPublicKeyKnown(XorName)
Not Section PublicKey.
NoSuchData(DataAddress)
Key, Value pair not found.
DataExists
Chunk already exists for this node
Io(Error)
I/O error.
JsonSerialisation(Error)
JSON serialisation error.
Bincode(Error)
Bincode error.
ServiceMsg(Error)
Network service message error.
NetworkData(Error)
Network data error.
InvalidOwner(PublicKey)
Data owner provided is invalid.
Configuration(String)
Configuration error.
InvalidQueryResponseAuthority
Invalid node authority for a query response.
Sled(Error)
Sled error.
Trait Implementations
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