Trait Destination
actix::dev
pub trait Destination<A>: Sized { type Transport: Clone; fn connected(tx: &Self::Transport) -> bool; }
type Transport: Clone
fn connected(tx: &Self::Transport) -> bool
Indicates if destination is still alive
impl<A: Actor> Destination<A> for Syn type Transport = SyncAddressSender<A>;
impl<A: Actor> Destination<A> for Unsync where A::Context: AsyncContext<A>, type Transport = UnsyncAddrSender<A>;