usecrate::{Entry,Result};/// A trait to load an object from the program entry.
pubtraitLoader<T>
where
Self: Sized
{/// Fetch an object from the program entry.
fnfetch(entry:&Entry)->Result<Self>;/// Move the sealed object out.
fnvalue(self)-> T;/// Returns the refernece of the sealed object.
fnvalue_ref(&self)->&T;}