[−][src]Enum grpcio_sys::GrpcCallStatus
Result of a gRPC call.
If the caller satisfies the prerequisites of a
particular operation, the GrpcCallStatus
returned will be Ok
.
Receiving any other value listed here is an indication of a bug in the caller.
Based on grpc_call_error
.
Variants
Ok
Everything went ok.
Error
Something failed, we don't know what.
ErrorNotOnServer
This method is not available on the server.
ErrorNotOnClient
This method is not available on the client.
ErrorAlreadyAccepted
This method must be called before server_accept.
ErrorAlreadyInvoked
This method must be called before invoke.
ErrorNotInvoked
This method must be called after invoke.
ErrorAlreadyFinished
This call is already finished (writes_done or write_status has already been called).
ErrorTooManyOperations
There is already an outstanding read/write operation on the call.
ErrorInvalidFlags
The flags value was illegal for this call.
ErrorInvalidMetadata
Invalid metadata was passed to this call.
ErrorInvalidMessage
Invalid message was passed to this call.
ErrorNotServerCompletionQueue
Completion queue for notification has not been registered with the server.
ErrorBatchTooBig
This batch of operations leads to more operations than allowed.
ErrorPayloadTypeMismatch
Payload type requested is not the type registered.
ErrorCompletionQueueShutdown
Completion queue has been shut down.
Trait Implementations
impl PartialEq<GrpcCallStatus> for GrpcCallStatus
[src]
fn eq(&self, other: &GrpcCallStatus) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for GrpcCallStatus
[src]
Auto Trait Implementations
impl Send for GrpcCallStatus
impl Sync for GrpcCallStatus
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,