pub trait ZoneApi {
    type Error;
    fn get_zone(&self, zone_id: Uuid) -> Result<Zone, Self::Error>;
fn get_zone_join_token(
        &self,
        zone_id: Uuid
    ) -> Result<ZoneJoinToken, Self::Error>;
fn get_zones(&self) -> Result<Vec<Zone>, Self::Error>; }

Associated Types

Required methods

Get zone details.

Get the authentication token.

Get all zones.

Implementors