pub struct PublicationCacheBuilder<'a, 'b, 'c, const BACKGROUND: bool = false> { /* private fields */ }👎Deprecated: Use
AdvancedPublisher and AdvancedSubscriber instead.Expand description
The builder of PublicationCache, allowing to configure it.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Implementations§
Source§impl<'a, 'b, 'c> PublicationCacheBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> PublicationCacheBuilder<'a, 'b, 'c>
Sourcepub fn queryable_suffix<TryIntoKeyExpr>(
self,
queryable_suffix: TryIntoKeyExpr,
) -> Self
👎Deprecated: Use AdvancedPublisher and AdvancedSubscriber instead.
pub fn queryable_suffix<TryIntoKeyExpr>( self, queryable_suffix: TryIntoKeyExpr, ) -> Self
AdvancedPublisher and AdvancedSubscriber instead.Change the suffix used for queryable.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Sourcepub fn queryable_allowed_origin(self, origin: Locality) -> Self
👎Deprecated: Use AdvancedPublisher and AdvancedSubscriber instead.
pub fn queryable_allowed_origin(self, origin: Locality) -> Self
AdvancedPublisher and AdvancedSubscriber instead.Restrict the matching queries that will be receive by this PublicationCache’s queryable
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
to the ones that have the given [`Locality`](zenoh::prelude::Locality).Sourcepub fn queryable_complete(self, complete: bool) -> Self
👎Deprecated: Use AdvancedPublisher and AdvancedSubscriber instead.
pub fn queryable_complete(self, complete: bool) -> Self
AdvancedPublisher and AdvancedSubscriber instead.Set completeness option for the queryable.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Sourcepub fn history(self, history: usize) -> Self
👎Deprecated: Use AdvancedPublisher and AdvancedSubscriber instead.
pub fn history(self, history: usize) -> Self
AdvancedPublisher and AdvancedSubscriber instead.Change the history size for each resource.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Sourcepub fn resources_limit(self, limit: usize) -> Self
👎Deprecated: Use AdvancedPublisher and AdvancedSubscriber instead.
pub fn resources_limit(self, limit: usize) -> Self
AdvancedPublisher and AdvancedSubscriber instead.Change the limit number of cached resources.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
pub fn background(self) -> PublicationCacheBuilder<'a, 'b, 'c, true>
👎Deprecated: Use
AdvancedPublisher and AdvancedSubscriber instead.Trait Implementations§
Source§impl IntoFuture for PublicationCacheBuilder<'_, '_, '_>
Available on crate feature unstable only.
impl IntoFuture for PublicationCacheBuilder<'_, '_, '_>
Available on crate feature
unstable only.Source§type Output = <PublicationCacheBuilder<'_, '_, '_> as Resolvable>::To
type Output = <PublicationCacheBuilder<'_, '_, '_> as Resolvable>::To
The output that the future will produce on completion.
Source§type IntoFuture = Ready<<PublicationCacheBuilder<'_, '_, '_> as Resolvable>::To>
type IntoFuture = Ready<<PublicationCacheBuilder<'_, '_, '_> as Resolvable>::To>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl IntoFuture for PublicationCacheBuilder<'_, '_, '_, true>
Available on crate feature unstable only.
impl IntoFuture for PublicationCacheBuilder<'_, '_, '_, true>
Available on crate feature
unstable only.Source§type Output = <PublicationCacheBuilder<'_, '_, '_, true> as Resolvable>::To
type Output = <PublicationCacheBuilder<'_, '_, '_, true> as Resolvable>::To
The output that the future will produce on completion.
Source§type IntoFuture = Ready<<PublicationCacheBuilder<'_, '_, '_, true> as Resolvable>::To>
type IntoFuture = Ready<<PublicationCacheBuilder<'_, '_, '_, true> as Resolvable>::To>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl Resolvable for PublicationCacheBuilder<'_, '_, '_>
Available on crate feature unstable only.
impl Resolvable for PublicationCacheBuilder<'_, '_, '_>
Available on crate feature
unstable only.Source§impl Resolvable for PublicationCacheBuilder<'_, '_, '_, true>
Available on crate feature unstable only.
impl Resolvable for PublicationCacheBuilder<'_, '_, '_, true>
Available on crate feature
unstable only.Source§impl Wait for PublicationCacheBuilder<'_, '_, '_>
Available on crate feature unstable only.
impl Wait for PublicationCacheBuilder<'_, '_, '_>
Available on crate feature
unstable only.Source§fn wait(self) -> <Self as Resolvable>::To
fn wait(self) -> <Self as Resolvable>::To
Synchronously execute and wait
Source§impl Wait for PublicationCacheBuilder<'_, '_, '_, true>
Available on crate feature unstable only.
impl Wait for PublicationCacheBuilder<'_, '_, '_, true>
Available on crate feature
unstable only.Source§fn wait(self) -> <Self as Resolvable>::To
fn wait(self) -> <Self as Resolvable>::To
Synchronously execute and wait
Auto Trait Implementations§
impl<'a, 'b, 'c, const BACKGROUND: bool> Freeze for PublicationCacheBuilder<'a, 'b, 'c, BACKGROUND>
impl<'a, 'b, 'c, const BACKGROUND: bool = false> !RefUnwindSafe for PublicationCacheBuilder<'a, 'b, 'c, BACKGROUND>
impl<'a, 'b, 'c, const BACKGROUND: bool> Send for PublicationCacheBuilder<'a, 'b, 'c, BACKGROUND>
impl<'a, 'b, 'c, const BACKGROUND: bool> Sync for PublicationCacheBuilder<'a, 'b, 'c, BACKGROUND>
impl<'a, 'b, 'c, const BACKGROUND: bool> Unpin for PublicationCacheBuilder<'a, 'b, 'c, BACKGROUND>
impl<'a, 'b, 'c, const BACKGROUND: bool = false> !UnwindSafe for PublicationCacheBuilder<'a, 'b, 'c, BACKGROUND>
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more