Struct tantivy_common::file_slice::WrapFile
source · pub struct WrapFile { /* private fields */ }
Expand description
A File with it’s length included.
Implementations§
Trait Implementations§
source§impl FileHandle for WrapFile
impl FileHandle for WrapFile
source§fn read_bytes(&self, range: Range<usize>) -> Result<OwnedBytes>
fn read_bytes(&self, range: Range<usize>) -> Result<OwnedBytes>
Reads a slice of bytes. Read more
Auto Trait Implementations§
impl Freeze for WrapFile
impl RefUnwindSafe for WrapFile
impl Send for WrapFile
impl Sync for WrapFile
impl Unpin for WrapFile
impl UnwindSafe for WrapFile
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