[][src]Struct riker_default::DefaultModel

pub struct DefaultModel<Msg: Message> { /* fields omitted */ }

Methods

impl<Msg: Message> DefaultModel<Msg>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<Msg: Clone + Message> Clone for DefaultModel<Msg>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Msg: Message> Model for DefaultModel<Msg>[src]

type Msg = Msg

The message type used throughout the system. Actor.receive expects this type Read more

type Dis = ThreadPoolDispatcher

Dispatcher executes actors and futures

type Ded = DeadLettersActor<Self::Msg>

Dead letters subscribes to the dead letters channel

type Tmr = BasicTimer<Self::Msg>

Timer provides message scheduling, e.g. ctx.schedule_once

type Evs = MapVec<Self::Msg>

Event store provides the storage system for events/messages

type Tcp = NoIo<Self::Msg>

type Udp = NoIo<Self::Msg>

type Log = SimpleLogger<Self::Msg>

Logger provides global logging, e.g. info!("hello");

Auto Trait Implementations

impl<Msg> Send for DefaultModel<Msg>

impl<Msg> Sync for DefaultModel<Msg> where
    Msg: Sync

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<T> ActorArgs for T where
    T: Send + Sync + Clone
[src]