Trait zenoh::Undeclarable
source · pub trait Undeclarable<S, O, T = ZResult<()>>{
// Required method
fn undeclare_inner(self, session: S) -> O;
}
Expand description
A trait implemented by types that can be undeclared.
Required Methods§
fn undeclare_inner(self, session: S) -> O
Implementors§
impl<'a> Undeclarable<&'a Session, KeyExprUndeclaration<'a>> for KeyExpr<'a>
impl<'a> Undeclarable<(), LivelinessTokenUndeclaration<'a>> for LivelinessToken<'a>
🔬
This API has been marked as unstable: it works as advertised, but we may change it in a future release.
To use it, you must enable zenoh's
unstable
feature flag.
impl<'a> Undeclarable<(), PublisherUndeclaration<'a>> for Publisher<'a>
impl<'a, O, T, G> Undeclarable<&'a Session, O, T> for G
impl<'a, T> Undeclarable<(), MatchingListenerUndeclaration<'a>> for MatchingListener<'a, T>
🔬
This API has been marked as unstable: it works as advertised, but we may change it in a future release.
To use it, you must enable zenoh's
unstable
feature flag.