Trait kvarn::extensions::PresentCall

source ·
pub trait PresentCall: KvarnSendSync {
    // Required method
    fn call<'a>(
        &'a self,
        present_data: &'a mut PresentData<'a>
    ) -> RetFut<'a, ()>;
}
Expand description

Required Methods§

source

fn call<'a>(&'a self, present_data: &'a mut PresentData<'a>) -> RetFut<'a, ()>

§Arguments

PresentData contains all the references to the data needed.

Implementors§

source§

impl<F: for<'a> Fn(&'a mut PresentData<'a>) -> RetFut<'a, ()> + KvarnSendSync> PresentCall for F