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
impl Clone for grpc_completion_queue_attributes
[src]
impl Clone for grpc_completion_queue_attributes
[src]fn clone(&self) -> grpc_completion_queue_attributes
[src]
fn clone(&self) -> grpc_completion_queue_attributes
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Copy 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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more