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§
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".