[][src]Trait dsf_core::api::Subscribe

pub trait Subscribe {
    type Options;
    type Data;
    type Error;
    fn subscribe(
        &mut self,
        service: &ServiceHandle,
        options: Self::Options
    ) -> FutureStream<Self::Data, Self::Error>; }

Subscriber API used by subscribers to service data

Associated Types

type Options

type Data

type Error

Loading content...

Required methods

fn subscribe(
    &mut self,
    service: &ServiceHandle,
    options: Self::Options
) -> FutureStream<Self::Data, Self::Error>

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...