ContextInitAckExt

Trait ContextInitAckExt 

Source
pub trait ContextInitAckExt {
    // Required methods
    fn init_ack<E>(&mut self, result: Result<ActorID, E>)
       where E: Into<Exit>;
    fn init_ack_ok(&mut self, actor_id_opt: Option<ActorID>);

    // Provided method
    fn init_ack_err<E>(&mut self, err: E)
       where E: Into<Exit> { ... }
}

Required Methods§

Source

fn init_ack<E>(&mut self, result: Result<ActorID, E>)
where E: Into<Exit>,

Source

fn init_ack_ok(&mut self, actor_id_opt: Option<ActorID>)

Provided Methods§

Source

fn init_ack_err<E>(&mut self, err: E)
where E: Into<Exit>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<M> ContextInitAckExt for Context<M>

Source§

fn init_ack<E>(&mut self, result: Result<ActorID, E>)
where E: Into<Exit>,

Source§

fn init_ack_ok(&mut self, actor_id_opt: Option<ActorID>)

Implementors§