pub struct LivelinessTokenUndeclaration(/* private fields */);Expand description
A Resolvable returned by LivelinessToken::undeclare
§Examples
let session = zenoh::open(zenoh::Config::default()).await.unwrap();
let liveliness = session
.liveliness()
.declare_token("key/expression")
.await
.unwrap();
liveliness.undeclare().await.unwrap();Trait Implementations§
Source§impl IntoFuture for LivelinessTokenUndeclaration
impl IntoFuture for LivelinessTokenUndeclaration
Source§type Output = <LivelinessTokenUndeclaration as Resolvable>::To
type Output = <LivelinessTokenUndeclaration as Resolvable>::To
The output that the future will produce on completion.
Source§type IntoFuture = Ready<<LivelinessTokenUndeclaration as Resolvable>::To>
type IntoFuture = Ready<<LivelinessTokenUndeclaration 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 Wait for LivelinessTokenUndeclaration
impl Wait for LivelinessTokenUndeclaration
Source§fn wait(self) -> <Self as Resolvable>::To
fn wait(self) -> <Self as Resolvable>::To
Synchronously execute and wait
Auto Trait Implementations§
impl Freeze for LivelinessTokenUndeclaration
impl !RefUnwindSafe for LivelinessTokenUndeclaration
impl Send for LivelinessTokenUndeclaration
impl Sync for LivelinessTokenUndeclaration
impl Unpin for LivelinessTokenUndeclaration
impl !UnwindSafe for LivelinessTokenUndeclaration
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