Trait vapcore_sync::LightNetworkDispatcher [−][src]
Execute a closure with a protocol context.
Required methods
fn with_context<F, T>(&self, f: F) -> Option<T> where
F: FnOnce(&dyn BasicContext) -> T,
[src]
F: FnOnce(&dyn BasicContext) -> T,
Execute a closure with a protocol context.
Implementors
impl LightNetworkDispatcher for LightSync
[src]
fn with_context<F, T>(&self, f: F) -> Option<T> where
F: FnOnce(&dyn BasicContext) -> T,
[src]
F: FnOnce(&dyn BasicContext) -> T,