Struct profiler_get_symbols::FileContentsWithChunkedCaching [−][src]
pub struct FileContentsWithChunkedCaching<S: FileByteSource> { /* fields omitted */ }
Implementations
Trait Implementations
Must return a slice of the file contents, or an error.
The slice’s lifetime must be valid for the entire lifetime of this
FileContents
object. This restriction may be a bit cumbersome to satisfy;
it’s a restriction that’s inherited from the object
crate’s ReadRef
trait. Read more
fn read_bytes_at_until(
&self,
range: Range<u64>,
delimiter: u8
) -> FileAndPathHelperResult<&[u8]>
fn read_bytes_at_until(
&self,
range: Range<u64>,
delimiter: u8
) -> FileAndPathHelperResult<&[u8]>
TODO: document
fn read_bytes_into(
&self,
buffer: &mut Vec<u8>,
offset: u64,
size: u64
) -> FileAndPathHelperResult<()>
fn read_bytes_into(
&self,
buffer: &mut Vec<u8>,
offset: u64,
size: u64
) -> FileAndPathHelperResult<()>
Append size
bytes to buffer
, starting to read at offset
in the file.