Skip to main content

ZoneWrite

Trait ZoneWrite 

Source
pub trait ZoneWrite {
    // Required methods
    fn create_zone<'a>(
        &'a self,
        zone: &'a str,
        zone_type: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn delete_zone<'a>(
        &'a self,
        zone: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn enable_zone<'a>(
        &'a self,
        zone: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn disable_zone<'a>(
        &'a self,
        zone: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
}

Required Methods§

Source

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

Source

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

Source

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

Source

fn disable_zone<'a>( &'a self, zone: &'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§