pub struct MmapYamlReader {
mmap: Mmap,
position: usize,
}Expand description
Memory-mapped YAML file reader
Fields§
§mmap: Mmap§position: usizeImplementations§
Source§impl MmapYamlReader
impl MmapYamlReader
Sourcepub fn read_chunk(&mut self, size: usize) -> Option<&str>
pub fn read_chunk(&mut self, size: usize) -> Option<&str>
Read a chunk from current position
Auto Trait Implementations§
impl Freeze for MmapYamlReader
impl RefUnwindSafe for MmapYamlReader
impl Send for MmapYamlReader
impl Sync for MmapYamlReader
impl Unpin for MmapYamlReader
impl UnwindSafe for MmapYamlReader
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