[][src]Trait dsf_core::api::Locate

pub trait Locate {
    type Options;
    type Info;
    type Error;
#[must_use]    fn locate<'life0, 'async_trait>(
        &'life0 mut self,
        options: Self::Options
    ) -> Pin<Box<dyn Future<Output = Result<Self::Info, Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Locate API trait used to find an existing service

Associated Types

type Options

type Info

type Error

Loading content...

Required methods

#[must_use]fn locate<'life0, 'async_trait>(
    &'life0 mut self,
    options: Self::Options
) -> Pin<Box<dyn Future<Output = Result<Self::Info, Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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

Loading content...

Implementors

Loading content...