zenoh_core

Trait Wait

source
pub trait Wait: Resolvable {
    // Required method
    fn wait(self) -> Self::To;
}
Expand description

Synchronous execution of a resolvable

Required Methods§

source

fn wait(self) -> Self::To

Synchronously execute and wait

Implementors§

source§

impl<C, To> Wait for ResolveClosure<C, To>
where To: Sized + Send, C: FnOnce() -> To + Send,

source§

impl<F, To> Wait for ResolveFuture<F, To>
where To: Sized + Send, F: Future<Output = To> + Send,