Struct eventually_util::inmemory::EventStoreBuilder
source · [−]pub struct EventStoreBuilder;Expand description
Builder for EventStore instances.
Implementations
sourceimpl EventStoreBuilder
impl EventStoreBuilder
sourcepub fn for_aggregate<T>(_: &T) -> EventStore<T::Id, T::Event> where
T: Aggregate,
T::Id: Hash + Eq,
pub fn for_aggregate<T>(_: &T) -> EventStore<T::Id, T::Event> where
T: Aggregate,
T::Id: Hash + Eq,
Builds a new EventStore instance compatible with the provided Aggregate.
Auto Trait Implementations
impl RefUnwindSafe for EventStoreBuilder
impl Send for EventStoreBuilder
impl Sync for EventStoreBuilder
impl Unpin for EventStoreBuilder
impl UnwindSafe for EventStoreBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more