pub struct ProvidedBufferRingOptions {
pub kernel_mmap: bool,
pub incremental: bool,
}Expand description
Options de création d’un ProvidedBufferRing.
Fields§
§kernel_mmap: boolMémoire de l’anneau de descripteurs allouée par le kernel
(IOU_PBUF_RING_MMAP) puis mmappée par la façade, au lieu d’être fournie
par l’application.
incremental: boolConsommation incrémentale (IOU_PBUF_RING_INC) : un buffer peut servir
plusieurs complétions, consommé au fur et à mesure (cf. module §5).
Trait Implementations§
Source§impl Clone for ProvidedBufferRingOptions
impl Clone for ProvidedBufferRingOptions
Source§fn clone(&self) -> ProvidedBufferRingOptions
fn clone(&self) -> ProvidedBufferRingOptions
Returns a duplicate 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 ProvidedBufferRingOptions
impl Debug for ProvidedBufferRingOptions
Source§impl Default for ProvidedBufferRingOptions
impl Default for ProvidedBufferRingOptions
Source§fn default() -> ProvidedBufferRingOptions
fn default() -> ProvidedBufferRingOptions
Returns the “default value” for a type. Read more
impl Copy for ProvidedBufferRingOptions
impl Eq for ProvidedBufferRingOptions
impl StructuralPartialEq for ProvidedBufferRingOptions
Auto Trait Implementations§
impl Freeze for ProvidedBufferRingOptions
impl RefUnwindSafe for ProvidedBufferRingOptions
impl Send for ProvidedBufferRingOptions
impl Sync for ProvidedBufferRingOptions
impl Unpin for ProvidedBufferRingOptions
impl UnsafeUnpin for ProvidedBufferRingOptions
impl UnwindSafe for ProvidedBufferRingOptions
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