pub struct SegmentReader { /* private fields */ }Expand description
Segment reader for reading frames
Implementations§
Source§impl SegmentReader
impl SegmentReader
pub fn new(store_path: &Path, seg_id: u32) -> Result<Self>
pub fn read_frame(&mut self, metadata: &HandleMetadata) -> Result<Frame>
Auto Trait Implementations§
impl Freeze for SegmentReader
impl RefUnwindSafe for SegmentReader
impl Send for SegmentReader
impl Sync for SegmentReader
impl Unpin for SegmentReader
impl UnwindSafe for SegmentReader
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