[][src]Struct actor_es::Manager

pub struct Manager { /* fields omitted */ }

Implementations

impl Manager[src]

pub fn new(sys: ActorSystem) -> Self[src]

pub fn sys(&self) -> &ActorSystem[src]

pub fn register<E, S>(self, store: S, args: E::Args) -> Self where
    E: ES,
    S: CommitStore<E::Model>, 
[src]

pub async fn command<C, '_>(&'_ self, cmd: C) -> EntityId where
    C: Message + EntityName
[src]

pub async fn query<E, '_>(&'_ self, id: EntityId) -> Option<E::Model> where
    E: ES + EntityName
[src]

pub fn entity(&self, name: &str) -> BasicActorRef[src]

Auto Trait Implementations

impl !RefUnwindSafe for Manager

impl Send for Manager

impl Sync for Manager

impl Unpin for Manager

impl !UnwindSafe for Manager

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,