Trait vapcore_sync::LightNetworkDispatcher[][src]

pub trait LightNetworkDispatcher {
    fn with_context<F, T>(&self, f: F) -> Option<T>
    where
        F: FnOnce(&dyn BasicContext) -> T
; }

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]

Execute a closure with a protocol context.

Loading content...

Implementors

impl LightNetworkDispatcher for LightSync[src]

Loading content...