pub struct QuerierUndeclaration<'a> { /* private fields */ }Expand description
A Resolvable returned when undeclaring a querier.
§Examples
let session = zenoh::open(zenoh::Config::default()).await.unwrap();
let querier = session.declare_querier("key/expression").await.unwrap();
querier.undeclare().await.unwrap();Implementations§
Source§impl<'a> QuerierUndeclaration<'a>
impl<'a> QuerierUndeclaration<'a>
Sourcepub fn wait_callbacks(self) -> Self
Available on crate feature unstable only.
pub fn wait_callbacks(self) -> Self
unstable only.Block in undeclare operation until all currently running instances of reply and matching listeners’ callbacks (if any) return.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Trait Implementations§
Source§impl IntoFuture for QuerierUndeclaration<'_>
impl IntoFuture for QuerierUndeclaration<'_>
Source§type Output = <QuerierUndeclaration<'_> as Resolvable>::To
type Output = <QuerierUndeclaration<'_> as Resolvable>::To
The output that the future will produce on completion.
Source§type IntoFuture = Ready<<QuerierUndeclaration<'_> as Resolvable>::To>
type IntoFuture = Ready<<QuerierUndeclaration<'_> 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 QuerierUndeclaration<'_>
impl Resolvable for QuerierUndeclaration<'_>
Source§impl Wait for QuerierUndeclaration<'_>
impl Wait for QuerierUndeclaration<'_>
Source§fn wait(self) -> <Self as Resolvable>::To
fn wait(self) -> <Self as Resolvable>::To
Synchronously execute and wait
Auto Trait Implementations§
impl<'a> Freeze for QuerierUndeclaration<'a>
impl<'a> !RefUnwindSafe for QuerierUndeclaration<'a>
impl<'a> Send for QuerierUndeclaration<'a>
impl<'a> Sync for QuerierUndeclaration<'a>
impl<'a> Unpin for QuerierUndeclaration<'a>
impl<'a> UnsafeUnpin for QuerierUndeclaration<'a>
impl<'a> !UnwindSafe for QuerierUndeclaration<'a>
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