[][src]Trait remote_trait_object::ToRemote

pub trait ToRemote<T: ?Sized + Service>: Sized {
    fn to_remote(port: Weak<dyn Port>, handle: HandleToExchange) -> Self;
}

Unused T is for avoiding violation of the orphan rule, like ToDispatcher

Required methods

fn to_remote(port: Weak<dyn Port>, handle: HandleToExchange) -> Self

Loading content...

Implementations on Foreign Types

impl ToRemote<dyn NullService + 'static> for Box<dyn NullService>[src]

impl ToRemote<dyn NullService + 'static> for Arc<dyn NullService>[src]

impl ToRemote<dyn NullService + 'static> for Arc<RwLock<dyn NullService>>[src]

Loading content...

Implementors

Loading content...