Skip to main content

ActorStart

Trait ActorStart 

Source
pub trait ActorStart: Actor {
    // Provided method
    fn start(self) -> ActorRef<Self> { ... }
}
Expand description

Extension trait for starting an actor. Automatically implemented for all Actor types.

Provided Methods§

Source

fn start(self) -> ActorRef<Self>

Start the actor on a dedicated OS thread.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A: Actor> ActorStart for A