Skip to main content

ActorEntry

Trait ActorEntry 

Source
pub trait ActorEntry:
    Fn(ActorStart) -> RuntimeBoxFuture<Result<()>>
    + Send
    + Sync
    + 'static { }

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<F> ActorEntry for F
where F: Fn(ActorStart) -> RuntimeBoxFuture<Result<()>> + Send + Sync + 'static,

Available on non-crate feature wasm-runtime only.