[−][src]Struct riker::actor::ActorCell
Methods
impl<Msg> ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> ActorCell<Msg> where
Msg: Message,
pub fn new( | [src] |
Constructs a new ActorCell
Trait Implementations
impl<Msg> CellInternal for ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> CellInternal for ActorCell<Msg> where
Msg: Message,
type Msg = Msg
fn dead_letters(&self) -> &ActorRef<Msg> | [src] |
fn persistence_conf(&self) -> Option<PersistenceConf> | [src] |
fn is_persisting(&self) -> bool | [src] |
fn set_persisting(&self, b: bool) | [src] |
fn identify(&self, sender: Option<ActorRef<Msg>>) | [src] |
fn add_child(&self, name: &str, actor: ActorRef<Msg>) | [src] |
fn stop(&self, actor: ActorRef<Msg>) | [src] |
fn receive_cmd(&self, cmd: ActorCmd, actor: &mut Option<BoxActor<Msg>>) | [src] |
fn terminate(&self, actor: &mut Option<BoxActor<Msg>>) | [src] |
fn restart(&self) | [src] |
fn death_watch( | [src] |
fn handle_failure(&self, failed: ActorRef<Msg>, strategy: Strategy) | [src] |
fn restart_child(&self, actor: ActorRef<Msg>) | [src] |
fn escalate_failure(&self) | [src] |
fn is_child(&self, actor: &ActorRef<Msg>) -> bool | [src] |
fn load_events(&self, actor: &mut Option<BoxActor<Msg>>) -> bool | [src] |
fn replay( | [src] |
impl<Msg> CellPublic for ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> CellPublic for ActorCell<Msg> where
Msg: Message,
type Msg = Msg
fn myself(&self) -> ActorRef<Msg> | [src] |
fn parent(&self) -> ActorRef<Msg> | [src] |
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = ActorRef<Msg>> + 'a> | [src] |
fn user_root(&self) -> ActorRef<Msg> | [src] |
fn is_root(&self) -> bool | [src] |
fn send_msg(&self, msg: Envelope<Msg>) -> MsgResult<Envelope<Msg>> | [src] |
fn send_sys_msg( | [src] |
impl<Msg> TmpActorRefFactory for ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> TmpActorRefFactory for ActorCell<Msg> where
Msg: Message,
type Msg = Msg
fn tmp_actor_of( | [src] |
impl<Msg> ExecutionContext for ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> ExecutionContext for ActorCell<Msg> where
Msg: Message,
fn execute<F>(&self, f: F) -> RemoteHandle<F::Output> where | [src] |
impl<'a, Msg> From<&'a ActorCell<Msg>> for Context<Msg> where
Msg: Message,
[src]
impl<'a, Msg> From<&'a ActorCell<Msg>> for Context<Msg> where
Msg: Message,
impl<Msg: Clone + Message> Clone for ActorCell<Msg>
[src]
impl<Msg: Clone + Message> Clone for ActorCell<Msg>
fn clone(&self) -> ActorCell<Msg> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl<Msg> Debug for ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> Debug for ActorCell<Msg> where
Msg: Message,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |