Enum grpcio_sys::grpc_call_error [−][src]
#[repr(u32)]
pub enum grpc_call_error {
Show 16 variants
GRPC_CALL_OK,
GRPC_CALL_ERROR,
GRPC_CALL_ERROR_NOT_ON_SERVER,
GRPC_CALL_ERROR_NOT_ON_CLIENT,
GRPC_CALL_ERROR_ALREADY_ACCEPTED,
GRPC_CALL_ERROR_ALREADY_INVOKED,
GRPC_CALL_ERROR_NOT_INVOKED,
GRPC_CALL_ERROR_ALREADY_FINISHED,
GRPC_CALL_ERROR_TOO_MANY_OPERATIONS,
GRPC_CALL_ERROR_INVALID_FLAGS,
GRPC_CALL_ERROR_INVALID_METADATA,
GRPC_CALL_ERROR_INVALID_MESSAGE,
GRPC_CALL_ERROR_NOT_SERVER_COMPLETION_QUEUE,
GRPC_CALL_ERROR_BATCH_TOO_BIG,
GRPC_CALL_ERROR_PAYLOAD_TYPE_MISMATCH,
GRPC_CALL_ERROR_COMPLETION_QUEUE_SHUTDOWN,
}
Expand description
Result of a grpc call. If the caller satisfies the prerequisites of a particular operation, the grpc_call_error returned will be GRPC_CALL_OK. Receiving any other value listed here is an indication of a bug in the caller.
Variants
everything went ok
something failed, we don’t know what
this method is not available on the server
this method is not available on the client
this method must be called before server_accept
this method must be called before invoke
this method must be called after invoke
this call is already finished (writes_done or write_status has already been called)
there is already an outstanding read/write operation on the call
the flags value was illegal for this call
invalid metadata was passed to this call
invalid message was passed to this call
completion queue for notification has not been registered with the server
this batch of operations leads to more operations than allowed
payload type requested is not the type registered
completion queue has been shutdown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for grpc_call_error
impl Send for grpc_call_error
impl Sync for grpc_call_error
impl Unpin for grpc_call_error
impl UnwindSafe for grpc_call_error
Blanket Implementations
Mutably borrows from an owned value. Read more