[][src]Enum grammers_client::InvocationError

pub enum InvocationError {
    NotConnected,
    IO(Error),
    RPC(RpcError),
    Dropped,
    Deserialize(DeserializeError),
}

This error occurs when a Remote Procedure call was unsuccessful.

The request should be retransmited when this happens, unless the variant is InvalidParameters.

Variants

NotConnected

The connection was closed or has been dropped, and the sender is no longer connected. Nothing can be sent unless connected.

IO(Error)

The request invocation failed due to network problems.

This includes being unable to send malformed packets to the server (such as a packet being large) because attempting to send those would cause the server to disconnect.

The request invocation failed because it was invalid or the server could not process it successfully.

Dropped

The request was cancelled or dropped, and the results won't arrive.

Deserialize(DeserializeError)

The error occured during the deserialization of the response.

Trait Implementations

impl Debug for InvocationError[src]

impl Display for InvocationError[src]

impl Error for InvocationError[src]

impl From<DeserializeError> for InvocationError[src]

impl From<DeserializeError> for InvocationError[src]

impl From<Error> for InvocationError[src]

impl From<InvocationError> for AuthorizationError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> Same<T> for T

type Output = T

Should always be Self

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.