Locate

Trait Locate 

Source
pub trait Locate {
    type Options;
    type Info;
    type Error;

    // Required method
    fn locate(
        &mut self,
        options: Self::Options,
    ) -> Result<Self::Info, Self::Error>;
}
Expand description

Locate API trait used to find an existing service

Required Associated Types§

Required Methods§

Source

fn locate(&mut self, options: Self::Options) -> Result<Self::Info, Self::Error>

Locate a DIoT service in the distributed database This returns a future that will resolve to the desired service or an error

Implementors§