fedimint_core::db

Trait IRawDatabaseExt

Source
pub trait IRawDatabaseExt: IRawDatabase + Sized {
    // Provided method
    fn into_database(self) -> Database { ... }
}
Expand description

An extension trait with convenience operations on IRawDatabase

Provided Methods§

Source

fn into_database(self) -> Database

Convert to type implementing IRawDatabase into Database.

When type inference is not an issue, Into::into can be used instead.

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§

Source§

impl<T> IRawDatabaseExt for T
where T: IRawDatabase,