pub struct Buffers<'a> {
pub ids: &'a mut [ObjectId],
pub pack: &'a mut [u8],
pub read: &'a mut [u8],
pub byte_limit: usize,
}Expand description
Caller-owned storage. Hits use IDs and byte_limit but do not need pack or
read scratch. Misses are bounded by both pack storage and byte_limit.
Fields§
§ids: &'a mut [ObjectId]§pack: &'a mut [u8]§read: &'a mut [u8]§byte_limit: usizeAuto Trait Implementations§
impl<'a> !UnwindSafe for Buffers<'a>
impl<'a> Freeze for Buffers<'a>
impl<'a> RefUnwindSafe for Buffers<'a>
impl<'a> Send for Buffers<'a>
impl<'a> Sync for Buffers<'a>
impl<'a> Unpin for Buffers<'a>
impl<'a> UnsafeUnpin for Buffers<'a>
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