pub struct LazyBlockFile { /* private fields */ }
Implementations§
Source§impl LazyBlockFile
Represents a block file in the chrome cache. It has a header, providing some metadata about the
file, followed by a series of contiguous blocks of a fixed size, defined by a field within the
header.
impl LazyBlockFile
Represents a block file in the chrome cache. It has a header, providing some metadata about the file, followed by a series of contiguous blocks of a fixed size, defined by a field within the header.
pub fn new(buffer: Rc<Vec<u8>>) -> LazyBlockFile
pub fn get_buffer(&self, addr: &CacheAddr) -> CCPResult<BufferSlice>
Auto Trait Implementations§
impl Freeze for LazyBlockFile
impl RefUnwindSafe for LazyBlockFile
impl !Send for LazyBlockFile
impl !Sync for LazyBlockFile
impl Unpin for LazyBlockFile
impl UnwindSafe for LazyBlockFile
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