[][src]Struct cqrs::trivial::NullSnapshotStore

pub struct NullSnapshotStore<A>(_)
where
    A: Aggregate
;

A trivial store that never has any snapshots, and which always succeeds in persisting data (which is immediately dropped).

Methods

impl<A> NullSnapshotStore<A> where
    A: Aggregate
[src]

pub const DEFAULT: Self[src]

A constant value representing a trivial event store.

Trait Implementations

impl<A: Clone> Clone for NullSnapshotStore<A> where
    A: Aggregate
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<A> Default for NullSnapshotStore<A> where
    A: Aggregate
[src]

impl<A: Copy> Copy for NullSnapshotStore<A> where
    A: Aggregate
[src]

impl<A> Debug for NullSnapshotStore<A> where
    A: Aggregate
[src]

impl<A> SnapshotSource<A> for NullSnapshotStore<A> where
    A: Aggregate
[src]

type Error = Void

The error type.

impl<A> SnapshotSink<A> for NullSnapshotStore<A> where
    A: Aggregate
[src]

type Error = Void

The error type.

Auto Trait Implementations

impl<A> Unpin for NullSnapshotStore<A> where
    A: Unpin

impl<A> !Sync for NullSnapshotStore<A>

impl<A> !Send for NullSnapshotStore<A>

impl<A> UnwindSafe for NullSnapshotStore<A> where
    A: RefUnwindSafe

impl<A> RefUnwindSafe for NullSnapshotStore<A> where
    A: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]