Skip to main content

DeviceJoinWriteRevocationExecutor

Trait DeviceJoinWriteRevocationExecutor 

Source
pub trait DeviceJoinWriteRevocationExecutor: Send + Sync {
    // Required method
    fn revoke_write_authority<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        producer: DeviceJoinProducer,
        authority: &'life1 ProviderWriteAuthorityRef,
        locator: &'life2 ProviderAccessLocator,
        protected_slots: &'life3 [ObjectSlot],
    ) -> Pin<Box<dyn Future<Output = Result<ProviderAccessWithdrawal, DeviceJoinError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

Source

fn revoke_write_authority<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, producer: DeviceJoinProducer, authority: &'life1 ProviderWriteAuthorityRef, locator: &'life2 ProviderAccessLocator, protected_slots: &'life3 [ObjectSlot], ) -> Pin<Box<dyn Future<Output = Result<ProviderAccessWithdrawal, DeviceJoinError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Idempotently withdraws the exact provider authority, then verifies that the withdrawn authority cannot write any protected_slots before returning its provider-specific evidence.

Implementors§