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_typecq_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.