#[repr(C)]pub struct grpc_completion_queue_attributes {
pub version: c_int,
pub cq_completion_type: grpc_cq_completion_type,
pub cq_polling_type: grpc_cq_polling_type,
pub cq_shutdown_cb: *mut grpc_completion_queue_functor,
}
Fields
version: c_int
The version number of this structure. More fields might be added to this structure in future.
cq_completion_type: grpc_cq_completion_type
Set to GRPC_CQ_CURRENT_VERSION
cq_polling_type: grpc_cq_polling_type
cq_shutdown_cb: *mut grpc_completion_queue_functor
When creating a callbackable CQ, pass in a functor to get invoked when shutdown is complete
Trait Implementations
sourceimpl Clone for grpc_completion_queue_attributes
impl Clone for grpc_completion_queue_attributes
sourcefn clone(&self) -> grpc_completion_queue_attributes
fn clone(&self) -> grpc_completion_queue_attributes
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
impl Copy for grpc_completion_queue_attributes
Auto Trait Implementations
impl RefUnwindSafe for grpc_completion_queue_attributes
impl !Send for grpc_completion_queue_attributes
impl !Sync for grpc_completion_queue_attributes
impl Unpin for grpc_completion_queue_attributes
impl UnwindSafe for grpc_completion_queue_attributes
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