pub enum ClientError {
Show 17 variants
Generic(String),
BuildError(String),
Tls(Error),
QuinnConnect(ConnectError),
QuinnConnection(ConnectionError),
Io(Error),
Crypto(CryptoError),
AddrParse(AddrParseError),
FileStorage(String),
Encryption(ConvergentEncryptionError),
BlobStore(BlobStoreError),
Challenge(Error),
ProtocolError(String),
Message(MessageError),
RpcError(RpcError),
SessionManager(SessionManagerError),
Storage(StorageError),
}Variants§
Generic(String)
BuildError(String)
Tls(Error)
QuinnConnect(ConnectError)
QuinnConnection(ConnectionError)
Io(Error)
Crypto(CryptoError)
AddrParse(AddrParseError)
FileStorage(String)
Encryption(ConvergentEncryptionError)
BlobStore(BlobStoreError)
Challenge(Error)
ProtocolError(String)
Message(MessageError)
RpcError(RpcError)
SessionManager(SessionManagerError)
Storage(StorageError)
Trait Implementations§
Source§impl Debug for ClientError
impl Debug for ClientError
Source§impl Display for ClientError
impl Display for ClientError
Source§impl Error for ClientError
impl Error for ClientError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AddrParseError> for ClientError
impl From<AddrParseError> for ClientError
Source§fn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
Source§impl From<BlobStoreError> for ClientError
impl From<BlobStoreError> for ClientError
Source§impl From<ClientError> for PqxdhError
impl From<ClientError> for PqxdhError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<ConnectError> for ClientError
impl From<ConnectError> for ClientError
Source§impl From<ConnectionError> for ClientError
impl From<ConnectionError> for ClientError
Source§impl From<ConvergentEncryptionError> for ClientError
impl From<ConvergentEncryptionError> for ClientError
Source§fn from(source: ConvergentEncryptionError) -> Self
fn from(source: ConvergentEncryptionError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoError> for ClientError
impl From<CryptoError> for ClientError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ClientError
impl From<Error> for ClientError
Source§impl From<Error> for ClientError
impl From<Error> for ClientError
Source§impl From<Error> for ClientError
impl From<Error> for ClientError
Source§impl From<MessageError> for ClientError
impl From<MessageError> for ClientError
Source§fn from(source: MessageError) -> Self
fn from(source: MessageError) -> Self
Converts to this type from the input type.
Source§impl From<RpcError> for ClientError
impl From<RpcError> for ClientError
Source§impl From<SessionManagerError> for ClientError
impl From<SessionManagerError> for ClientError
Source§fn from(source: SessionManagerError) -> Self
fn from(source: SessionManagerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ClientError
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
The type of the wrapped error after instrumentation
§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Instrument an Error by bundling it with a SpanTrace Read more
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.