Trait FileSink

Source
pub trait FileSink: Write {
    // Required methods
    fn set_executable(&mut self, executable: bool);
    fn add_contents(&mut self, contents: &[u8]);
}

Required Methods§

Source

fn set_executable(&mut self, executable: bool)

Source

fn add_contents(&mut self, contents: &[u8])

Implementors§

Source§

impl<'a> FileSink for &'a mut NarFile