#[repr(u32)]
pub enum grpc_cq_completion_type {
GRPC_CQ_NEXT,
GRPC_CQ_PLUCK,
GRPC_CQ_CALLBACK,
}
Expand description
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
Events trigger a callback specified as the tag
Trait Implementations
sourceimpl Clone for grpc_cq_completion_type
impl Clone for grpc_cq_completion_type
sourcefn clone(&self) -> grpc_cq_completion_type
fn clone(&self) -> grpc_cq_completion_type
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for grpc_cq_completion_type
impl Debug for grpc_cq_completion_type
sourceimpl Hash for grpc_cq_completion_type
impl Hash for grpc_cq_completion_type
impl Copy for grpc_cq_completion_type
impl Eq for grpc_cq_completion_type
impl StructuralEq for grpc_cq_completion_type
impl StructuralPartialEq for grpc_cq_completion_type
Auto Trait Implementations
impl RefUnwindSafe for grpc_cq_completion_type
impl Send for grpc_cq_completion_type
impl Sync for grpc_cq_completion_type
impl Unpin for grpc_cq_completion_type
impl UnwindSafe for grpc_cq_completion_type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more