pub struct SqliteEventStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for SqliteEventStore
impl Clone for SqliteEventStore
Source§impl Reader for SqliteEventStore
impl Reader for SqliteEventStore
fn read<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
seq: i64,
) -> Pin<Box<dyn Future<Output = Result<Payload, ProtocolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_to<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
from: i64,
to: i64,
) -> Pin<Box<dyn Future<Output = Result<BTreeSet<Payload>, ProtocolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_to_latest<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
from: i64,
) -> Pin<Box<dyn Future<Output = Result<BTreeSet<Payload>, ProtocolError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteEventStore
impl !UnwindSafe for SqliteEventStore
impl Freeze for SqliteEventStore
impl Send for SqliteEventStore
impl Sync for SqliteEventStore
impl Unpin for SqliteEventStore
impl UnsafeUnpin for SqliteEventStore
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