Trait AdvancedPublisherBuilderExt

Source
pub trait AdvancedPublisherBuilderExt<'a, 'b, 'c> {
    // Required methods
    fn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>;
    fn sample_miss_detection(
        self,
        config: MissDetectionConfig,
    ) -> AdvancedPublisherBuilder<'a, 'b, 'c>;
    fn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>;
    fn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>;
}
Expand description

Some extensions to the zenoh::publication::PublisherBuilder

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

Required Methods§

Source

fn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Allow matching AdvancedSubscribers to recover history and/or missed samples.

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Source

fn sample_miss_detection( self, config: MissDetectionConfig, ) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Allow matching AdvancedSubscribers to detect lost samples

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
and optionally ask for retransimission.

Retransmission can only be achieved if cache is also enabled.

Source

fn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Allow this publisher to be detected by AdvancedSubscribers.

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

This allows AdvancedSubscribers to retrieve the local history.

Source

fn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Turn this Publisher into an AdvancedPublisher.

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

Implementations on Foreign Types§

Source§

impl<'a, 'b, 'c> AdvancedPublisherBuilderExt<'a, 'b, 'c> for PublisherBuilder<'a, 'b>

Source§

fn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Allow matching AdvancedSubscribers to recover history and/or missed samples.

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Source§

fn sample_miss_detection( self, config: MissDetectionConfig, ) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Allow matching AdvancedSubscribers to detect lost samples

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
and optionally ask for retransimission.

Retransmission can only be achieved if cache is also enabled.

Source§

fn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Allow this publisher to be detected by AdvancedSubscribers.

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

This allows AdvancedSubscribers to retrieve the local history.

Source§

fn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>

Turn this Publisher into an AdvancedPublisher.

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

Implementors§