pub struct ProvidedBufferConfig {
pub len: usize,
pub entries: u16,
}Fields§
§len: usize§entries: u16Implementations§
Source§impl ProvidedBufferConfig
impl ProvidedBufferConfig
pub fn for_accept(accept_slots: u32, buf_len: usize, max_entries: u32) -> Self
pub fn apply_overrides(&mut self, len: usize, entries: u16)
Trait Implementations§
Source§impl Clone for ProvidedBufferConfig
impl Clone for ProvidedBufferConfig
Source§fn clone(&self) -> ProvidedBufferConfig
fn clone(&self) -> ProvidedBufferConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProvidedBufferConfig
Source§impl Debug for ProvidedBufferConfig
impl Debug for ProvidedBufferConfig
impl Eq for ProvidedBufferConfig
Source§impl PartialEq for ProvidedBufferConfig
impl PartialEq for ProvidedBufferConfig
impl StructuralPartialEq for ProvidedBufferConfig
Auto Trait Implementations§
impl Freeze for ProvidedBufferConfig
impl RefUnwindSafe for ProvidedBufferConfig
impl Send for ProvidedBufferConfig
impl Sync for ProvidedBufferConfig
impl Unpin for ProvidedBufferConfig
impl UnsafeUnpin for ProvidedBufferConfig
impl UnwindSafe for ProvidedBufferConfig
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