async fn start(self) -> Addr<Self> {
        let (ctx, rx) = Context::new();
        let addr = ctx.address();
        start_actor(ctx, rx, self, false).await;
        addr
    }
/// Start a new actor, returning its address.
///
/// # Examples
///
/// ```rust
/// use xactor::*;
///
/// struct MyActor;
///
/// impl Actor for MyActor {}
///
/// #[message(result = "i32")]
/// struct MyMsg(i32);
///
/// #[async_trait::async_trait]
/// impl Handler<MyMsg> for MyActor {
///     async fn handle(&mut self, _ctx: &Context<Self>, msg: MyMsg) -> i32 {
///         msg.0 * msg.0
///     }
/// }
///
/// #[async_std::main]
/// async fn main() -> Result<()> {
///     // Start actor and get its address
///     let mut addr = MyActor.start().await;
///
///     // Send message `MyMsg` to actor via addr
///     let res = addr.call(MyMsg(10)).await?;
///     assert_eq!(res, 100);
///     Ok(())
/// }
/// ```
Start a new actor, returning its address.
Start a new actor returning its address .
async fn start(self) -> Addr<Self> {
        let (ctx, rx) = Context::new();
        let addr = ctx.address();
        start_actor(ctx, rx, self, false).await;
        addr
    }
async fn start ( self ) -> Addr < Self > { let ( ctx , rx ) = Context :: new ( ) ; let addr = ctx . address ( ) ; start_actor ( ctx , rx , self , false ) . await ; addr }
Start a new actor, returning its address.
Start a new actor returning its address .
self
self
examples
```rust
use xactor::*.

struct MyActor.

impl Actor for MyActor {}
` ` ` rust use xactor :: * . struct MyActor . impl Actor for MyActor {}
[message(result = "i32")]
None
[async_trait::async_trait]
impl Handler for MyActor {
async fn handle(&mut self, _ctx: &Context, msg: MyMsg) -> i32 {
msg.0 * msg.0
}
}
impl Handler for MyActor { async fn handle ( &mut self _ctx : &Context msg : MyMsg ) - > i32 { msg . 0 * msg . 0 } }
[async_std::main]
async fn main() -> Result<()> {
Start actor and get its address
let mut addr = MyActor.start().await.

Send message `MyMsg` to actor via addr
let res = addr.call(MyMsg(10)).await?;
assert_eq!(res, 100);
Ok(())
}
```
async fn main () - > Result< () > { Start actor and get its address let mut addr = MyActor . start () . await . Send message ` MyMsg ` to actor via addr let res = addr . call ( MyMsg ( 10 )) . await? ; assert_eq! ( res 100 ) ; Ok (( )) } ` ` `