#[repr(u32)]pub enum grpc_cq_completion_type {
GRPC_CQ_NEXT = 0,
GRPC_CQ_PLUCK = 1,
GRPC_CQ_CALLBACK = 2,
}
Expand description
Specifies the type of APIs to use to pop events from the completion queue
Variants§
GRPC_CQ_NEXT = 0
Events are popped out by calling grpc_completion_queue_next() API ONLY
GRPC_CQ_PLUCK = 1
Events are popped out by calling grpc_completion_queue_pluck() API ONLY
GRPC_CQ_CALLBACK = 2
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 for grpc_cq_completion_type
impl PartialEq for grpc_cq_completion_type
impl Copy for grpc_cq_completion_type
impl Eq for grpc_cq_completion_type
impl StructuralPartialEq for grpc_cq_completion_type
Auto Trait Implementations§
impl Freeze for grpc_cq_completion_type
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