SpillManager

Trait SpillManager 

Source
pub trait SpillManager {
    // Required methods
    fn reserve(
        &mut self,
        graph: &DependencyGraph,
        anchor: CellRef,
        shape: SpillShape,
        meta: SpillMeta,
    ) -> Result<(SpillReservation, Box<dyn SpillWriter>), ExcelError>;
    fn commit(
        &mut self,
        reservation: SpillReservation,
    ) -> Result<(), ExcelError>;
    fn rollback(&mut self, reservation: SpillReservation);
}

Required Methods§

Source

fn reserve( &mut self, graph: &DependencyGraph, anchor: CellRef, shape: SpillShape, meta: SpillMeta, ) -> Result<(SpillReservation, Box<dyn SpillWriter>), ExcelError>

Source

fn commit(&mut self, reservation: SpillReservation) -> Result<(), ExcelError>

Source

fn rollback(&mut self, reservation: SpillReservation)

Implementors§