Trait LazyObject

Source
pub trait LazyObject: Drop {
    // Required methods
    fn as_container(&self) -> &LazyContainer;
    fn store_lazy(&self) -> Result<(), LDBError>;
    fn load_lazy(container: LazyContainer) -> Self;
    fn clear_cache(&mut self);
}

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.

Implementors§