Trait Resolve

Source
pub trait Resolve<Output>:
    Resolvable<To = Output>
    + Wait
    + IntoSendFuture
    + IntoFuture<IntoFuture = <Self as IntoSendFuture>::IntoFuture, Output = Output>
    + Send { }
Expand description

Zenoh’s trait for resolving builder patterns.

Builder patterns in Zenoh can be resolved by awaiting them, in async context, and Wait::wait in sync context. We advise to prefer the usage of asynchronous execution, and to use synchronous one with caution

Implementors§

Source§

impl<T, Output> Resolve<Output> for T
where T: Resolvable<To = Output> + Wait + IntoSendFuture + IntoFuture<IntoFuture = <Self as IntoSendFuture>::IntoFuture, Output = Output> + Send,