pub struct InlinedCursor { /* private fields */ }Implementations§
Source§impl InlinedCursor
impl InlinedCursor
pub fn new(inlined_offset: NonZeroU64, cursor: Option<Cursor>) -> Self
pub fn head(&self) -> Self
pub fn tail<M: MemoryMap>(&self, journal_file: &JournalFile<M>) -> Result<Self>
pub fn value<M: MemoryMap>( &self, journal_file: &JournalFile<M>, ) -> Result<Option<NonZeroU64>>
pub fn next_until<M: MemoryMap>( &mut self, journal_file: &JournalFile<M>, offset: NonZeroU64, ) -> Result<Option<NonZeroU64>>
pub fn previous_until<M: MemoryMap>( &mut self, journal_file: &JournalFile<M>, offset: NonZeroU64, ) -> Result<Option<NonZeroU64>>
pub fn directed_partition_point<M, F>( &self, journal_file: &JournalFile<M>, predicate: F, direction: Direction, ) -> Result<Option<Self>>
pub fn collect_offsets<M: MemoryMap>( &self, journal_file: &JournalFile<M>, offsets: &mut Vec<NonZeroU64>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for InlinedCursor
impl Clone for InlinedCursor
Source§fn clone(&self) -> InlinedCursor
fn clone(&self) -> InlinedCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InlinedCursor
impl RefUnwindSafe for InlinedCursor
impl Send for InlinedCursor
impl Sync for InlinedCursor
impl Unpin for InlinedCursor
impl UnsafeUnpin for InlinedCursor
impl UnwindSafe for InlinedCursor
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