pub enum EventReaderStart {
OldestRetained,
FromNow,
}Expand description
Explicit reader cursor policy when creating an EventReader.
Variants§
OldestRetained
Begin at the oldest payload still retained by the channel.
FromNow
Begin after the current channel tail, skipping prior history.
Trait Implementations§
Source§impl Clone for EventReaderStart
impl Clone for EventReaderStart
Source§fn clone(&self) -> EventReaderStart
fn clone(&self) -> EventReaderStart
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 moreimpl Copy for EventReaderStart
Source§impl Debug for EventReaderStart
impl Debug for EventReaderStart
impl Eq for EventReaderStart
Source§impl PartialEq for EventReaderStart
impl PartialEq for EventReaderStart
impl StructuralPartialEq for EventReaderStart
Auto Trait Implementations§
impl Freeze for EventReaderStart
impl RefUnwindSafe for EventReaderStart
impl Send for EventReaderStart
impl Sync for EventReaderStart
impl Unpin for EventReaderStart
impl UnsafeUnpin for EventReaderStart
impl UnwindSafe for EventReaderStart
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