#[repr(C)]pub enum PduQueueMode {
Unlimited = 0,
Limited = 1,
Circular = 2,
}
Expand description
IOCTL queue mode
Variants§
Unlimited = 0
Attempt to allocate memory for every event coming in to the receive queue. This queue size can keep growing until the API runs out of allocation memory
Limited = 1
Attempt to allocate a fixed buffer size for events coming into the receive queue. Events are discarded from the receive queue if the buffer is full
Circular = 2
Attempt to allocate a fixed buffer size for events coming into the receive queue. Events overwrite stored events if the buffer is full (Like a circular buffer)
Trait Implementations§
Source§impl Clone for PduQueueMode
impl Clone for PduQueueMode
Source§fn clone(&self) -> PduQueueMode
fn clone(&self) -> PduQueueMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PduQueueMode
impl Debug for PduQueueMode
Source§impl Ord for PduQueueMode
impl Ord for PduQueueMode
Source§fn cmp(&self, other: &PduQueueMode) -> Ordering
fn cmp(&self, other: &PduQueueMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PduQueueMode
impl PartialEq for PduQueueMode
Source§impl PartialOrd for PduQueueMode
impl PartialOrd for PduQueueMode
impl Copy for PduQueueMode
impl Eq for PduQueueMode
impl StructuralPartialEq for PduQueueMode
Auto Trait Implementations§
impl Freeze for PduQueueMode
impl RefUnwindSafe for PduQueueMode
impl Send for PduQueueMode
impl Sync for PduQueueMode
impl Unpin for PduQueueMode
impl UnwindSafe for PduQueueMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more