#[non_exhaustive]pub enum StartPosition {
MostRecentStartPosition(Box<MostRecentStartPosition>),
NextAvailableStartPosition(Box<NextAvailableStartPosition>),
SpecificStartPosition(Box<SpecificStartPosition>),
}
Expand description
The position to start reading from when starting, resuming, or recovering the stream. If not set, the system’s default value will be used.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MostRecentStartPosition(Box<MostRecentStartPosition>)
Optional. Start replicating from the most recent position in the source.
NextAvailableStartPosition(Box<NextAvailableStartPosition>)
Optional. Resume replication from the next available position in the source.
SpecificStartPosition(Box<SpecificStartPosition>)
Optional. Start replicating from a specific position in the source.
Trait Implementations§
Source§impl Clone for StartPosition
impl Clone for StartPosition
Source§fn clone(&self) -> StartPosition
fn clone(&self) -> StartPosition
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 moreSource§impl Debug for StartPosition
impl Debug for StartPosition
Source§impl PartialEq for StartPosition
impl PartialEq for StartPosition
impl StructuralPartialEq for StartPosition
Auto Trait Implementations§
impl Freeze for StartPosition
impl RefUnwindSafe for StartPosition
impl Send for StartPosition
impl Sync for StartPosition
impl Unpin for StartPosition
impl UnwindSafe for StartPosition
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