Trait zenoh_core::Resolve

source ·
pub trait Resolve<Output>: Resolvable<To = Output> + SyncResolve + AsyncResolve + Send { }
Expand description

Zenoh’s trait for resolving builder patterns.

Builder patterns in Zenoh can be resolved with AsyncResolve in async context and SyncResolve in sync context. In both async and sync context calling .res() resolves the builder. .res() maps to .res_async() in async context. .res() maps to .res_sync() in sync context. We advise to prefer the usage of AsyncResolve and to use SyncResolve with caution.

Implementors§

source§

impl<T, Output> Resolve<Output> for T
where T: Resolvable<To = Output> + SyncResolve + AsyncResolve + Send,