Enum sn_client::Error [−][src]
Client Errors
Variants (Non-exhaustive)
Asymmetric Key Decryption Failed.
Symmetric Key Decryption Failed.
Received unexpected data.
Received unexpected event.
Could not query elder.
Could not connect to elder.
Client has not gone trhough qp2p bootstrap process yet
InsufficientElderConnections(usize)
Could not connect to sufficient elder to retrieve reliable responses.
Could not query elder.
Could not send query to elder.
Could not query elder.
Could not query elder.
No BLS section key known.
No section prefix found for session
No transfer validation listener .
UnexpectedMessageOnJoin(String)
Unexpected message type receivied while joining.
Permission set provided is not a PublicPermissionSet.
Permission set provided is not a PrivatePermissionSet.
Did not receive an incoming connection listener from qp2p
Incorrect user permissions were returned
UnexpectedTransferEvent(Event)
Unexpcted transfer event received
UnexpectedQueryResponse(QueryResponse)
Unexpcted response received
UnexpectedHistoryResponse(QueryResponse)
Unexpected response received
UnexpectedStoreCostResponse(QueryResponse)
Unexpected response received
UnexpectedReplicaKeysResponse(PublicKey)
Unexpected response received
Transfer actor failed generating a transfer
Transfer actor did not find any events to register locally
Not in testnet “simulated payout” mode
NetworkDataError(DtError)
Other sn_data_types errors
Transfer(TransfersError)
Transfers errors
ErrorMessage(ErrorMessage)
Errors received from the network via sn_messaging
MessagingProtocol(MessagingError)
Errors occurred when serialising or deserialising messages
SelfEncryption(SelfEncryptionError)
self_enryption errors
ConfigError(Error)
Other sn_data_types errors
IoError(Error)
Io error.
QuicP2p(QuicP2pError)
QuicP2p error.
Bincode error
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Box<ErrorKind, Global>> for Error
[src]
impl From<CmdError> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
fn from(source: TransfersError) -> Self
[src]
impl From<Error> for Error
[src]
fn from(source: ErrorMessage) -> Self
[src]
impl From<Error> for Error
[src]
fn from(source: MessagingError) -> Self
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
fn from(source: QuicP2pError) -> Self
[src]
impl From<SelfEncryptionError> for Error
[src]
fn from(source: SelfEncryptionError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
T: Fail,
pub fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
pub fn name(&self) -> Option<&str>
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
pub fn backtrace(&self) -> Option<&Backtrace>
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,