Trait ReadArchive

Source
pub trait ReadArchive {
    // Required methods
    fn get<S>(&self, key: S) -> Option<&Vec<u8>>
       where S: Into<String>;
    fn get_mut<S>(&mut self, key: S) -> Option<&mut Vec<u8>>
       where S: Into<String>;
}

Required Methods§

Source

fn get<S>(&self, key: S) -> Option<&Vec<u8>>
where S: Into<String>,

Gets a reference to an entry from an archive, if it exists.

Source

fn get_mut<S>(&mut self, key: S) -> Option<&mut Vec<u8>>
where S: Into<String>,

Gets a mutable reference to an entry from an archive, if it exists.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§