Trait eventsourced::EventSourcedExt
source · pub trait EventSourcedExtwhere
Self: EventSourced,{
// Provided method
fn entity(self) -> EventSourcedEntity<Self> { ... }
}Expand description
Extension methods for EventSourced entities.
Provided Methods§
sourcefn entity(self) -> EventSourcedEntity<Self>
fn entity(self) -> EventSourcedEntity<Self>
Create a new EventSourcedEntity for this EventSourced implementation.
Object Safety§
This trait is not object safe.