pub trait NamedObjectCacheObjectMetaAccessProvider: Sync + Send {
    fn check_access<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        target_dec_id: &'life1 ObjectId,
        object_data: &'life2 dyn ObjectSelectorDataProvider,
        source: &'life3 RequestSourceInfo,
        permissions: AccessPermissions
    ) -> Pin<Box<dyn Future<Output = BuckyResult<Option<()>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; }

Required Methods§

source

fn check_access<'life0, 'life1, 'life2, 'life3, 'async_trait>(
    &'life0 self,
    target_dec_id: &'life1 ObjectId,
    object_data: &'life2 dyn ObjectSelectorDataProvider,
    source: &'life3 RequestSourceInfo,
    permissions: AccessPermissions
) -> Pin<Box<dyn Future<Output = BuckyResult<Option<()>>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,

Implementors§