Committable

Trait Committable 

Source
pub trait Committable: Store {
    type Operation;

    // Required method
    fn commit(&mut self, operation: Self::Operation) -> Result<(), Self::Error>;
}
Expand description

Committable backend.

Required Associated Types§

Source

type Operation

Operation type for commit.

Required Methods§

Source

fn commit(&mut self, operation: Self::Operation) -> Result<(), Self::Error>

Commit operation.

Implementors§

Source§

impl<B: Block, A: Auxiliary<B>, S: Clone> Committable for MemoryBackend<B, A, S>