Trait ToRemote

Source
pub trait ToRemote {
    // Required method
    fn to_remote<'life0, 'life1, 'async_trait>(
        &'life0 self,
        channel: &'life1 str,
        no_cert_check: bool,
        with_path: bool,
    ) -> Pin<Box<dyn Future<Output = Result<RemoteRepo, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn to_remote<'life0, 'life1, 'async_trait>( &'life0 self, channel: &'life1 str, no_cert_check: bool, with_path: bool, ) -> Pin<Box<dyn Future<Output = Result<RemoteRepo, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl ToRemote for RemoteConfig

Source§

fn to_remote<'life0, 'life1, 'async_trait>( &'life0 self, channel: &'life1 str, no_cert_check: bool, with_path: bool, ) -> Pin<Box<dyn Future<Output = Result<RemoteRepo, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§