pub struct SqliteSubscription {
pub start: StartFrom<SqliteCursor>,
pub filter: EventFilter,
pub batch_size: Option<usize>,
pub limit: Option<usize>,
}Fields§
§start: StartFrom<SqliteCursor>§filter: EventFilter§batch_size: Option<usize>§limit: Option<usize>Trait Implementations§
Source§impl Clone for SqliteSubscription
impl Clone for SqliteSubscription
Source§fn clone(&self) -> SqliteSubscription
fn clone(&self) -> SqliteSubscription
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 moreSource§impl Debug for SqliteSubscription
impl Debug for SqliteSubscription
Source§impl Default for SqliteSubscription
impl Default for SqliteSubscription
Source§impl StartableSubscription<SqliteCursor> for SqliteSubscription
impl StartableSubscription<SqliteCursor> for SqliteSubscription
fn with_start(self, start: StartFrom<SqliteCursor>) -> Self
Source§fn with_starts(self, starts: Vec<StartFrom<C>>) -> Selfwhere
C: Ord,
fn with_starts(self, starts: Vec<StartFrom<C>>) -> Selfwhere
C: Ord,
Seed this subscription with a collection of candidate start
positions. Default behavior: pick the smallest
StartFrom::After(c)
from the vec and delegate to with_start. Other variants
(Earliest, Latest, Timestamp) are ignored by the default impl —
readers that support fan-in, dual historic+live consumption, or
topology-aware resume must override.Auto Trait Implementations§
impl Freeze for SqliteSubscription
impl RefUnwindSafe for SqliteSubscription
impl Send for SqliteSubscription
impl Sync for SqliteSubscription
impl Unpin for SqliteSubscription
impl UnsafeUnpin for SqliteSubscription
impl UnwindSafe for SqliteSubscription
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more