Trait ssr_core::task::Task

source ·
pub trait Task<'a>: Serialize + Deserialize<'a> {
    // Required methods
    fn get_desctiption(&self) -> &str;
    fn next_repetition(&self, _retrievability_goal: f64) -> SystemTime;
    fn complete(self, interaction: impl UserInteraction) -> (Self, Feedback);
}

Required Methods§

source

fn get_desctiption(&self) -> &str

source

fn next_repetition(&self, _retrievability_goal: f64) -> SystemTime

source

fn complete(self, interaction: impl UserInteraction) -> (Self, Feedback)

Object Safety§

This trait is not object safe.

Implementors§