Skip to main content

AccountingSelector

Trait AccountingSelector 

Source
pub trait AccountingSelector {
    type Storage: AccountingStorage;
}
Expand description

Maps a compile-time bool to AccountingStorageEnabled or AccountingStorageDisabled.

Required Associated Types§

Source

type Storage: AccountingStorage

Selected accounting storage type.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§