Skip to main content

AccessListWrite

Trait AccessListWrite 

Source
pub trait AccessListWrite {
    // Required methods
    fn add_blocked<'a>(
        &'a self,
        domain: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn delete_blocked<'a>(
        &'a self,
        domain: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn add_allowed<'a>(
        &'a self,
        domain: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn delete_allowed<'a>(
        &'a self,
        domain: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
}

Required Methods§

Source

fn add_blocked<'a>( &'a self, domain: &'a str, ) -> impl Future<Output = Result<Value>> + Send + 'a

Source

fn delete_blocked<'a>( &'a self, domain: &'a str, ) -> impl Future<Output = Result<Value>> + Send + 'a

Source

fn add_allowed<'a>( &'a self, domain: &'a str, ) -> impl Future<Output = Result<Value>> + Send + 'a

Source

fn delete_allowed<'a>( &'a self, domain: &'a str, ) -> impl Future<Output = Result<Value>> + Send + 'a

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§