pub struct Eager {}Expand description
Eager block buffer kind, which guarantees that buffer position
always lies in the range of 0..BlockSize.
Trait Implementations§
Source§impl Sealed for Eager
impl Sealed for Eager
const NAME: &'static str = "BlockBuffer<Eager>"
type Pos = ()
type Overhead = UTerm
fn get_pos<N: ArraySize>( buf: &MaybeUninit<Array<u8, N>>, _pos: &Self::Pos, ) -> usize
fn set_pos<N: ArraySize>( buf: &mut MaybeUninit<Array<u8, N>>, _pos: &mut Self::Pos, val: usize, )
impl BufferKind for Eager
impl Copy for Eager
Auto Trait Implementations§
impl Freeze for Eager
impl RefUnwindSafe for Eager
impl Send for Eager
impl Sync for Eager
impl Unpin for Eager
impl UnsafeUnpin for Eager
impl UnwindSafe for Eager
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