#[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§
source§impl Clone for grpc_cq_completion_type
impl Clone for grpc_cq_completion_type
source§fn clone(&self) -> grpc_cq_completion_type
fn clone(&self) -> grpc_cq_completion_type
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for grpc_cq_completion_type
impl Debug for grpc_cq_completion_type
source§impl Hash for grpc_cq_completion_type
impl Hash for grpc_cq_completion_type
source§impl PartialEq<grpc_cq_completion_type> for grpc_cq_completion_type
impl PartialEq<grpc_cq_completion_type> for grpc_cq_completion_type
source§fn eq(&self, other: &grpc_cq_completion_type) -> bool
fn eq(&self, other: &grpc_cq_completion_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more