pub trait TryIntoAdapter: Send + Sync {
    // Required method
    fn try_into_adapter<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

source

fn try_into_adapter<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementations on Foreign Types§

source§

impl TryIntoAdapter for &'static str

source§

fn try_into_adapter<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>>
where Self: 'async_trait,

source§

impl TryIntoAdapter for ()

source§

fn try_into_adapter<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>>
where Self: 'async_trait,

source§

impl<T> TryIntoAdapter for Option<T>
where T: TryIntoAdapter,

source§

fn try_into_adapter<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§

source§

impl<T> TryIntoAdapter for T
where T: Adapter + 'static,