Trait IsAsyncMeta

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

Required Methods§

Source

fn as_raw_meta<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = RawResult<RawMeta>> + 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 = RawResult<JsonMeta>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

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