[][src]Struct grpcio::RpcStatus

pub struct RpcStatus {
    pub status: RpcStatusCode,
    pub details: Option<String>,
}

RPC result returned from the server.

Fields

gRPC status code. Ok indicates success, all other values indicate an error.

Optional detail string.

Methods

impl RpcStatus
[src]

Create a new RpcStatus.

Create a new RpcStatus that status code is Ok.

Trait Implementations

impl Clone for RpcStatus
[src]

Performs copy-assignment from source. Read more

impl Debug for RpcStatus
[src]

Auto Trait Implementations

impl Send for RpcStatus

impl Sync for RpcStatus

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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