#[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§
source§impl Clone for grpc_completion_queue_attributes
impl Clone for grpc_completion_queue_attributes
source§fn clone(&self) -> grpc_completion_queue_attributes
fn clone(&self) -> grpc_completion_queue_attributes
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 more