Enum FrameReaderPosition
pub enum FrameReaderPosition {
Oldest,
Latest,
}Expand description
A safe reset destination within a reader’s original buffer.
Variants§
Oldest
Read all events still visible, including any already read by this cursor.
Latest
Skip all currently visible events; future published events remain unread.
Trait Implementations§
§impl Clone for FrameReaderPosition
impl Clone for FrameReaderPosition
§fn clone(&self) -> FrameReaderPosition
fn clone(&self) -> FrameReaderPosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FrameReaderPosition
impl Debug for FrameReaderPosition
§impl PartialEq for FrameReaderPosition
impl PartialEq for FrameReaderPosition
impl Copy for FrameReaderPosition
impl Eq for FrameReaderPosition
impl StructuralPartialEq for FrameReaderPosition
Auto Trait Implementations§
impl Freeze for FrameReaderPosition
impl RefUnwindSafe for FrameReaderPosition
impl Send for FrameReaderPosition
impl Sync for FrameReaderPosition
impl Unpin for FrameReaderPosition
impl UnwindSafe for FrameReaderPosition
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