Skip to main content

ObjectPersistence

Trait ObjectPersistence 

Source
pub trait ObjectPersistence:
    Send
    + Sync
    + 'static {
    // Required method
    fn is_persistent(&self, storage: StorageId) -> bool;
}

Required Methods§

Source

fn is_persistent(&self, storage: StorageId) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§