[][src]Trait dsf_core::api::Publish

pub trait Publish {
    type Options;
    type Info;
    type Error;
#[must_use]    fn publish<'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
; }

Publisher API trait used by publishers of service data

Associated Types

type Options

type Info

type Error

Loading content...

Required methods

#[must_use]fn publish<'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, 

Publish service data

Loading content...

Implementors

Loading content...