[−][src]Struct krill::commons::eventsourcing::DiskAggregateStore
Implementations
impl<A: Aggregate> DiskAggregateStore<A>
[src]
Trait Implementations
impl<A: Aggregate> AggregateStore<A> for DiskAggregateStore<A> where
A::Error: From<AggregateStoreError>,
[src]
A::Error: From<AggregateStoreError>,
fn get_latest(&self, handle: &Handle) -> Result<Arc<A>, AggregateStoreError>
[src]
fn add(&self, init: A::InitEvent) -> Result<Arc<A>, AggregateStoreError>
[src]
fn command(&self, cmd: A::Command) -> Result<Arc<A>, A::Error>
[src]
fn has(&self, id: &Handle) -> bool
[src]
fn list(&self) -> Vec<Handle>
[src]
fn add_listener<L: EventListener<A>>(&mut self, listener: Arc<L>)
[src]
fn command_history(
&self,
id: &Handle,
crit: CommandHistoryCriteria
) -> Result<CommandHistory, AggregateStoreError>
[src]
&self,
id: &Handle,
crit: CommandHistoryCriteria
) -> Result<CommandHistory, AggregateStoreError>
fn stored_command(
&self,
id: &Handle,
key: &CommandKey
) -> Result<Option<StoredCommand<<A as Aggregate>::StorableCommandDetails>>, AggregateStoreError>
[src]
&self,
id: &Handle,
key: &CommandKey
) -> Result<Option<StoredCommand<<A as Aggregate>::StorableCommandDetails>>, AggregateStoreError>
fn stored_event(
&self,
id: &Handle,
version: u64
) -> Result<Option<<A as Aggregate>::Event>, AggregateStoreError>
[src]
&self,
id: &Handle,
version: u64
) -> Result<Option<<A as Aggregate>::Event>, AggregateStoreError>
Auto Trait Implementations
impl<A> !RefUnwindSafe for DiskAggregateStore<A>
impl<A> Send for DiskAggregateStore<A>
impl<A> Sync for DiskAggregateStore<A>
impl<A> Unpin for DiskAggregateStore<A>
impl<A> !UnwindSafe for DiskAggregateStore<A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,