[][src]Enum persia_rpc::PersiaRpcError

pub enum PersiaRpcError {
    SerializationFailure {
        source: Error,
        backtrace: Option<Backtrace>,
    },
    ServerAddrParseFailure {
        server_addr: String,
        source: ParseError,
        backtrace: Option<Backtrace>,
    },
    TransportError {
        msg: String,
        source: Error,
        backtrace: Option<Backtrace>,
    },
    TransportServerSideError {
        msg: String,
        backtrace: Option<Backtrace>,
    },
}

Variants

SerializationFailure

Fields of SerializationFailure

source: Errorbacktrace: Option<Backtrace>
ServerAddrParseFailure

Fields of ServerAddrParseFailure

server_addr: Stringsource: ParseErrorbacktrace: Option<Backtrace>
TransportError

Fields of TransportError

msg: Stringsource: Errorbacktrace: Option<Backtrace>
TransportServerSideError

Fields of TransportServerSideError

msg: Stringbacktrace: Option<Backtrace>

Trait Implementations

impl Debug for PersiaRpcError[src]

impl Display for PersiaRpcError[src]

impl Error for PersiaRpcError where
    Self: Debug + Display
[src]

impl ErrorCompat for PersiaRpcError[src]

impl IntoError<PersiaRpcError> for SerializationFailure where
    PersiaRpcError: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl<__T0> IntoError<PersiaRpcError> for ServerAddrParseFailure<__T0> where
    PersiaRpcError: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = ParseError

The underlying error

impl<__T0> IntoError<PersiaRpcError> for TransportError<__T0> where
    PersiaRpcError: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = Error

The underlying error

impl<__T0> IntoError<PersiaRpcError> for TransportServerSideError<__T0> where
    PersiaRpcError: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.