Struct grpcio::RpcStatus[][src]

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 Debug for RpcStatus
[src]

Formats the value using the given formatter. Read more

impl Clone for RpcStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for RpcStatus

impl Sync for RpcStatus