Skip to main content

ZoneRead

Trait ZoneRead 

Source
pub trait ZoneRead {
    // Required methods
    fn list_zones(
        &self,
        page: u32,
        per_page: u32,
    ) -> impl Future<Output = Result<Value>> + Send + '_;
    fn list_records<'a>(
        &'a self,
        domain: &'a str,
        zone: Option<&'a str>,
        options: ListRecordsOptions,
    ) -> impl Future<Output = Result<ListRecordsResponse>> + Send + 'a;
}

Required Methods§

Source

fn list_zones( &self, page: u32, per_page: u32, ) -> impl Future<Output = Result<Value>> + Send + '_

Source

fn list_records<'a>( &'a self, domain: &'a str, zone: Option<&'a str>, options: ListRecordsOptions, ) -> impl Future<Output = Result<ListRecordsResponse>> + Send + 'a

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§