Trait evented::entity::EntityExt

source ·
pub trait EntityExt
where Self: Entity + Sized,
{ // Provided method fn entity(self) -> EventSourcedEntityBuilder<Self, NoOpEventListener> { ... } }
Expand description

Extension methods for Entity implementations.

Provided Methods§

source

fn entity(self) -> EventSourcedEntityBuilder<Self, NoOpEventListener>

Turn an Entity implementation into a builder for an EventSourcedEntity, thereby setting the NoOpEventListener.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E> EntityExt for E
where E: Entity,