Skip to main content

LedgerExt

Trait LedgerExt 

Source
pub trait LedgerExt {
    // Required methods
    fn new(region: &str, root: &Path) -> Self;
    fn open_all_for_vm(root: &Path, microvm_id: &str) -> Vec<Self>
       where Self: Sized;
}
Expand description

Production constructors for durable run ledgers.

Required Methods§

Source

fn new(region: &str, root: &Path) -> Self

Source

fn open_all_for_vm(root: &Path, microvm_id: &str) -> Vec<Self>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§