Enum distant_core::TransportError
source · [−]pub enum TransportError {
CryptoError(SecretKeyError),
IoError(Error),
SerializeError(SerializeError),
DeserializeError(DeserializeError),
}
Variants
CryptoError(SecretKeyError)
IoError(Error)
SerializeError(SerializeError)
DeserializeError(DeserializeError)
Trait Implementations
sourceimpl Debug for TransportError
impl Debug for TransportError
sourceimpl Display for TransportError
impl Display for TransportError
sourceimpl Error for TransportError
impl Error for TransportError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<DeserializeError> for TransportError
impl From<DeserializeError> for TransportError
sourcefn from(original: DeserializeError) -> TransportError
fn from(original: DeserializeError) -> TransportError
Converts to this type from the input type.
sourceimpl From<Error> for TransportError
impl From<Error> for TransportError
sourcefn from(original: Error) -> TransportError
fn from(original: Error) -> TransportError
Converts to this type from the input type.
sourceimpl From<SecretKeyError> for TransportError
impl From<SecretKeyError> for TransportError
sourcefn from(original: SecretKeyError) -> TransportError
fn from(original: SecretKeyError) -> TransportError
Converts to this type from the input type.
sourceimpl From<SerializeError> for TransportError
impl From<SerializeError> for TransportError
sourcefn from(original: SerializeError) -> TransportError
fn from(original: SerializeError) -> TransportError
Converts to this type from the input type.
sourceimpl From<TransportError> for RemoteProcessError
impl From<TransportError> for RemoteProcessError
sourcefn from(original: TransportError) -> RemoteProcessError
fn from(original: TransportError) -> RemoteProcessError
Converts to this type from the input type.
sourceimpl From<TransportError> for SessionChannelExtError
impl From<TransportError> for SessionChannelExtError
sourcefn from(original: TransportError) -> SessionChannelExtError
fn from(original: TransportError) -> SessionChannelExtError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl !UnwindSafe for TransportError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more