[][src]Trait yew::agent::Bridge

pub trait Bridge<AGN: Agent> {
    fn send(&mut self, msg: AGN::Input);
}

Bridge to a specific kind of worker.

Required methods

fn send(&mut self, msg: AGN::Input)

Send a message to an agent.

Loading content...

Implementors

impl<AGN: Agent> Bridge<AGN> for PrivateBridge<AGN>[src]

impl<AGN: Agent> Bridge<AGN> for PublicBridge<AGN>[src]

Loading content...