Trait Binds

Source
pub trait Binds<A>: RemoteActor
where A: Actor,
{ // Required method fn bind(ports: &Ports<A>); }
Expand description

Binds determines how an actor’s ports are bound to a specific reference type.

Required Methods§

Source

fn bind(ports: &Ports<A>)

Bind ports in this actor.

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 Binds<TestActor> for TestActor

Source§

impl Binds<CommActor> for CommActor

Source§

impl Binds<TestActor> for TestActor

Source§

impl Binds<LogClientActor> for LogClientActor

Source§

impl Binds<LogForwardActor> for LogForwardActor

Source§

impl Binds<MeshAgent> for MeshAgent

Source§

impl Binds<EmptyActor> for EmptyActor

Implementors§