pub enum Continuation {
Continued {
entries: Vec<SessionEntry>,
position: Position,
},
Truncated,
Replaced,
}Expand description
What read_from found.
Variants§
Continued
The log continues from the given position.
Fields
§
entries: Vec<SessionEntry>New entries, which may be none. Unlike SessionLog::entries,
they include the metadata line.
Truncated
The log is now shorter than the given position.
Replaced
The log no longer has the content that was read before.
Trait Implementations§
Source§impl Clone for Continuation
impl Clone for Continuation
Source§impl Debug for Continuation
impl Debug for Continuation
Source§impl PartialEq for Continuation
impl PartialEq for Continuation
impl StructuralPartialEq for Continuation
Auto Trait Implementations§
impl Forget for Continuation
impl Freeze for Continuation
impl Move for Continuation
impl RefUnwindSafe for Continuation
impl Send for Continuation
impl Sync for Continuation
impl Unpin for Continuation
impl UnsafeUnpin for Continuation
impl UnwindSafe for Continuation
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