pub trait IsAsyncMeta {
    type Error;

    // Required methods
    fn as_raw_meta<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<RawMeta, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn as_json_meta<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<JsonMeta, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

source

fn as_raw_meta<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<RawMeta, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn as_json_meta<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<JsonMeta, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<T> IsAsyncMeta for Twhere T: IsMeta + AsyncOnSync + Send + Sync,

§

type Error = <T as IsMeta>::Error