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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.