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

impl Clone for grpc_completion_queue_attributes[src]

impl Copy for grpc_completion_queue_attributes[src]

impl Debug for grpc_completion_queue_attributes[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.