pub trait AsyncAttribute: BaseAttribute {
    // Required method
    fn test_async<'ctx, 'life0, 'life1, 'async_trait>(
        subject: &'life0 Self::Subject,
        resource: &'life1 Self::Resource,
        context: Self::Context<'ctx>
    ) -> Pin<Box<dyn Future<Output = AttributeResult<Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'ctx: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn test_async<'ctx, 'life0, 'life1, 'async_trait>( subject: &'life0 Self::Subject, resource: &'life1 Self::Resource, context: Self::Context<'ctx> ) -> Pin<Box<dyn Future<Output = AttributeResult<Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'ctx: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§