Enum grpcio_sys::grpc_cq_polling_type [−][src]
Completion queues internally MAY maintain a set of file descriptors in a structure called ‘pollset’. This enum specifies if a completion queue has an associated pollset and any restrictions on the type of file descriptors that can be present in the pollset.
I/O progress can only be made when grpc_completion_queue_next() or grpc_completion_queue_pluck() are called on the completion queue (unless the grpc_cq_polling_type is GRPC_CQ_NON_POLLING) and hence it is very important to actively call these APIs
Variants
The completion queue will have an associated pollset and there is no restriction on the type of file descriptors the pollset may contain
Similar to GRPC_CQ_DEFAULT_POLLING except that the completion queues will not contain any ‘listening file descriptors’ (i.e file descriptors used to listen to incoming channels)
The completion queue will not have an associated pollset. Note that grpc_completion_queue_next() or grpc_completion_queue_pluck() MUST still be called to pop events from the completion queue; it is not required to call them actively to make I/O progress
Trait Implementations
impl Clone for grpc_cq_polling_type
[src]
fn clone(&self) -> grpc_cq_polling_type
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for grpc_cq_polling_type
[src]
impl Debug for grpc_cq_polling_type
[src]
impl Eq for grpc_cq_polling_type
[src]
impl Hash for grpc_cq_polling_type
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<grpc_cq_polling_type> for grpc_cq_polling_type
[src]
fn eq(&self, other: &grpc_cq_polling_type) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for grpc_cq_polling_type
[src]
impl StructuralPartialEq for grpc_cq_polling_type
[src]
Auto Trait Implementations
impl RefUnwindSafe for grpc_cq_polling_type
impl Send for grpc_cq_polling_type
impl Sync for grpc_cq_polling_type
impl Unpin for grpc_cq_polling_type
impl UnwindSafe for grpc_cq_polling_type
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,