Enum grpcio_sys::grpc_cq_completion_type[][src]

#[repr(u32)]pub enum grpc_cq_completion_type {
    GRPC_CQ_NEXT,
    GRPC_CQ_PLUCK,
    GRPC_CQ_CALLBACK,
}

Specifies the type of APIs to use to pop events from the completion queue

Variants

GRPC_CQ_NEXT

Events are popped out by calling grpc_completion_queue_next() API ONLY

GRPC_CQ_PLUCK

Events are popped out by calling grpc_completion_queue_pluck() API ONLY

GRPC_CQ_CALLBACK

EXPERIMENTAL: Events trigger a callback specified as the tag

Trait Implementations

impl Clone for grpc_cq_completion_type[src]

impl Copy for grpc_cq_completion_type[src]

impl Debug for grpc_cq_completion_type[src]

impl Eq for grpc_cq_completion_type[src]

impl Hash for grpc_cq_completion_type[src]

impl PartialEq<grpc_cq_completion_type> for grpc_cq_completion_type[src]

impl StructuralEq for grpc_cq_completion_type[src]

impl StructuralPartialEq for grpc_cq_completion_type[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.