pub trait Packer {
// Required methods
fn list() -> Self::Item;
fn get(file_name: impl AsRef<str>) -> Option<&'static [u8]>;
fn get_str(file_name: impl AsRef<str>) -> Option<&'static str>;
}Required Methods§
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.