Trait mem_query::transaction::RevertableOp[][src]

pub trait RevertableOp<Root: ?Sized> {
    type Err: Error;
    type Log: UndoLog<Root>;
    fn apply(self, root: &mut Root) -> Result<Self::Log, Self::Err>;
}
Expand description

A fallible operation that can be reverted if it succeeds

Associated Types

type Err: Error[src]

type Log: UndoLog<Root>[src]

Required methods

fn apply(self, root: &mut Root) -> Result<Self::Log, Self::Err>[src]

Implementors