pub enum CursorMovement {
Done,
Limited(c_int),
EoF,
}
Expand description
Return value for certain cursor movement operations like next(), next_skip() and alike.
Return Values:
Done
: full successLimited(actual)
: the movement was executed but limited by the EoF of the journal. The actual movement is given in the parameter.EoF
: no movement was executed since the cursor is already placed at EoF. This is an equivalent to Limited(0).
Variants§
Trait Implementations§
Source§impl Debug for CursorMovement
impl Debug for CursorMovement
Source§impl PartialEq for CursorMovement
impl PartialEq for CursorMovement
impl Eq for CursorMovement
impl StructuralPartialEq for CursorMovement
Auto Trait Implementations§
impl Freeze for CursorMovement
impl RefUnwindSafe for CursorMovement
impl Send for CursorMovement
impl Sync for CursorMovement
impl Unpin for CursorMovement
impl UnwindSafe for CursorMovement
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