pub trait Loader<T>where
Self: Sized,{
// Required methods
fn fetch(entry: &Entry) -> Result<Self>;
fn value(self) -> T;
fn value_ref(&self) -> &T;
}Expand description
A trait to load an object from the program entry.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".