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
Required Methods§
Sourcefn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Allow matching AdvancedSubscribers
to recover history and/or missed samples.
Sourcefn sample_miss_detection(
self,
config: MissDetectionConfig,
) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn sample_miss_detection( self, config: MissDetectionConfig, ) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Allow matching AdvancedSubscribers
to detect lost samples
Retransmission can only be achieved if cache
is also enabled.
Sourcefn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Allow this publisher to be detected by AdvancedSubscribers
.
This allows AdvancedSubscribers
to retrieve the local history.
Sourcefn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Turn this Publisher
into an AdvancedPublisher
.
Implementations on Foreign Types§
Source§impl<'a, 'b, 'c> AdvancedPublisherBuilderExt<'a, 'b, 'c> for PublisherBuilder<'a, 'b>
impl<'a, 'b, 'c> AdvancedPublisherBuilderExt<'a, 'b, 'c> for PublisherBuilder<'a, 'b>
Source§fn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn cache(self, config: CacheConfig) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Allow matching AdvancedSubscribers
to recover history and/or missed samples.
Source§fn sample_miss_detection(
self,
config: MissDetectionConfig,
) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn sample_miss_detection( self, config: MissDetectionConfig, ) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Allow matching AdvancedSubscribers
to detect lost samples
Retransmission can only be achieved if cache
is also enabled.
Source§fn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn publisher_detection(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Allow this publisher to be detected by AdvancedSubscribers
.
This allows AdvancedSubscribers
to retrieve the local history.
Source§fn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
fn advanced(self) -> AdvancedPublisherBuilder<'a, 'b, 'c>
Turn this Publisher
into an AdvancedPublisher
.