pub trait OutboardMut: Outboard {
    // Required methods
    fn set_size(&mut self, len: ByteNum) -> Result<()>;
    fn save(&mut self, node: TreeNode, hash_pair: &(Hash, Hash)) -> Result<()>;
}

Required Methods§

source

fn set_size(&mut self, len: ByteNum) -> Result<()>

Set the length of the file for which this outboard is

source

fn save(&mut self, node: TreeNode, hash_pair: &(Hash, Hash)) -> Result<()>

Save a hash pair for a node

Implementations on Foreign Types§

source§

impl<O: OutboardMut> OutboardMut for &mut O

source§

fn save(&mut self, node: TreeNode, hash_pair: &(Hash, Hash)) -> Result<()>

source§

fn set_size(&mut self, len: ByteNum) -> Result<()>

Implementors§