[−][src]Trait zenoh_protocol::proto::Primitives
Required methods
#[must_use]fn resource<'life0, 'life1, 'async_trait>(
&'life0 self,
rid: ZInt,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
rid: ZInt,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn forget_resource<'life0, 'async_trait>(
&'life0 self,
rid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
rid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn publisher<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn forget_publisher<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn subscriber<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey,
sub_info: &'life2 SubInfo
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey,
sub_info: &'life2 SubInfo
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn forget_subscriber<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn queryable<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn forget_queryable<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn data<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey,
payload: RBuf,
reliability: Reliability,
congestion_control: CongestionControl,
data_info: Option<DataInfo>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey,
payload: RBuf,
reliability: Reliability,
congestion_control: CongestionControl,
data_info: Option<DataInfo>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn query<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey,
predicate: &'life2 str,
qid: ZInt,
target: QueryTarget,
consolidation: QueryConsolidation
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
reskey: &'life1 ResKey,
predicate: &'life2 str,
qid: ZInt,
target: QueryTarget,
consolidation: QueryConsolidation
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn reply_data<'life0, 'async_trait>(
&'life0 self,
qid: ZInt,
source_kind: ZInt,
replier_id: PeerId,
reskey: ResKey,
info: Option<DataInfo>,
payload: RBuf
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
qid: ZInt,
source_kind: ZInt,
replier_id: PeerId,
reskey: ResKey,
info: Option<DataInfo>,
payload: RBuf
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn reply_final<'life0, 'async_trait>(
&'life0 self,
qid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
qid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn pull<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
is_final: bool,
reskey: &'life1 ResKey,
pull_id: ZInt,
max_samples: &'life2 Option<ZInt>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
is_final: bool,
reskey: &'life1 ResKey,
pull_id: ZInt,
max_samples: &'life2 Option<ZInt>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn close<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<T: SessionEventHandler + Send + Sync + ?Sized> Primitives for Mux<T>
[src]
fn resource<'life0, 'life1, 'async_trait>(
&'life0 self,
rid: ZInt,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
rid: ZInt,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn forget_resource<'life0, 'async_trait>(
&'life0 self,
rid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
rid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn subscriber<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey,
sub_info: &'life2 SubInfo
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey,
sub_info: &'life2 SubInfo
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn forget_subscriber<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn publisher<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn forget_publisher<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn queryable<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn forget_queryable<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn data<'life0, 'life1, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey,
payload: RBuf,
reliability: Reliability,
congestion_control: CongestionControl,
data_info: Option<DataInfo>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey,
payload: RBuf,
reliability: Reliability,
congestion_control: CongestionControl,
data_info: Option<DataInfo>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn query<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
reskey: &'life1 ResKey,
predicate: &'life2 str,
qid: ZInt,
target: QueryTarget,
consolidation: QueryConsolidation
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
reskey: &'life1 ResKey,
predicate: &'life2 str,
qid: ZInt,
target: QueryTarget,
consolidation: QueryConsolidation
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn reply_data<'life0, 'async_trait>(
&'life0 self,
qid: ZInt,
source_kind: ZInt,
replier_id: PeerId,
reskey: ResKey,
data_info: Option<DataInfo>,
payload: RBuf
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
qid: ZInt,
source_kind: ZInt,
replier_id: PeerId,
reskey: ResKey,
data_info: Option<DataInfo>,
payload: RBuf
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn reply_final<'life0, 'async_trait>(
&'life0 self,
qid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
qid: ZInt
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn pull<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
is_final: bool,
reskey: &'life1 ResKey,
pull_id: ZInt,
max_samples: &'life2 Option<ZInt>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
is_final: bool,
reskey: &'life1 ResKey,
pull_id: ZInt,
max_samples: &'life2 Option<ZInt>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,