pub trait EventSourcedExt
where Self: EventSourced,
{ // Provided method fn entity(self) -> EventSourcedEntity<Self> { ... } }
Expand description

Extension methods for EventSourced entities.

Provided Methods§

source

fn entity(self) -> EventSourcedEntity<Self>

Create a new EventSourcedEntity for this EventSourced implementation.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E> EventSourcedExt for E
where E: EventSourced,