Command

Trait Command 

Source
pub trait Command {
    // Required method
    fn execute(self, state: &mut State) -> Result<UndoOperation>;
}

Required Methods§

Source

fn execute(self, state: &mut State) -> Result<UndoOperation>

Implementations on Foreign Types§

Source§

impl Command for UserOperation

Source§

fn execute(self, state: &mut State) -> Result<UndoOperation>

Source§

impl Command for DoDelete

Source§

fn execute(self, state: &mut State) -> Result<UndoOperation>

Source§

impl Command for DoRegister

Source§

fn execute(self, state: &mut State) -> Result<UndoOperation>

Source§

impl Command for DoRenew

Source§

fn execute(self, state: &mut State) -> Result<UndoOperation>

Source§

impl Command for DoTransfer

Source§

fn execute(self, state: &mut State) -> Result<UndoOperation>

Source§

impl Command for DoUpdate

Source§

fn execute(self, state: &mut State) -> Result<UndoOperation>

Implementors§