Skip to main content

CommitRepairIo

Trait CommitRepairIo 

Source
pub trait CommitRepairIo: Send + Sync {
    // Required methods
    fn append_systematic_symbols(
        &self,
        commit_seq: u64,
        systematic_symbols: &[u8],
    ) -> Result<()>;
    fn sync_systematic_symbols(&self, commit_seq: u64) -> Result<()>;
    fn append_repair_symbols(
        &self,
        commit_seq: u64,
        repair_symbols: &[u8],
    ) -> Result<()>;
    fn sync_repair_symbols(&self, commit_seq: u64) -> Result<()>;
}
Expand description

Storage sink for systematic/repair symbol append+sync operations.

Required Methods§

Source

fn append_systematic_symbols( &self, commit_seq: u64, systematic_symbols: &[u8], ) -> Result<()>

Source

fn sync_systematic_symbols(&self, commit_seq: u64) -> Result<()>

Source

fn append_repair_symbols( &self, commit_seq: u64, repair_symbols: &[u8], ) -> Result<()>

Source

fn sync_repair_symbols(&self, commit_seq: u64) -> Result<()>

Implementors§