SiteExt

Trait SiteExt 

Source
pub trait SiteExt {
    // Required methods
    fn get_id(&self) -> Result<i32, Error>;
    fn get_site_configurations<C>(
        &self,
        client: &C,
    ) -> impl Future<Output = Result<Vec<SiteConfiguration>, Error>> + Send + Sync
       where C: Api;
}

Required Methods§

Source

fn get_id(&self) -> Result<i32, Error>

Source

fn get_site_configurations<C>( &self, client: &C, ) -> impl Future<Output = Result<Vec<SiteConfiguration>, Error>> + Send + Sync
where C: Api,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§