pub struct EventStoreBuilder;Expand description
Builder for EventStore instances.
Implementations§
Source§impl EventStoreBuilder
impl EventStoreBuilder
Sourcepub fn for_aggregate<T>(_: &T) -> EventStore<T::Id, T::Event>
pub fn for_aggregate<T>(_: &T) -> EventStore<T::Id, T::Event>
Builds a new EventStore instance compatible with the provided Aggregate.
Auto Trait Implementations§
impl Freeze for EventStoreBuilder
impl RefUnwindSafe for EventStoreBuilder
impl Send for EventStoreBuilder
impl Sync for EventStoreBuilder
impl Unpin for EventStoreBuilder
impl UnwindSafe for EventStoreBuilder
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