Struct grpcio_sys::grpc_completion_queue_attributes [−][src]
#[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_experimental_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_experimental_completion_queue_functor
When creating a callbackable CQ, pass in a functor to get invoked when shutdown is complete
Trait Implementations
Auto Trait Implementations
impl !Send for grpc_completion_queue_attributes
impl !Sync for grpc_completion_queue_attributes
impl Unpin for grpc_completion_queue_attributes
Blanket Implementations
Mutably borrows from an owned value. Read more