Skip to main content

RocksDBRefArg

Type Alias RocksDBRefArg 

Source
pub type RocksDBRefArg<'a> = Option<RocksReadSnapshot<'a>>;
Expand description

Helper type for RocksDB snapshot argument in reader constructors.

The Option allows callers to skip RocksDB access when it isn’t needed (e.g., on legacy MDBX-only nodes).

Aliased Type§

pub enum RocksDBRefArg<'a> {
    None,
    Some(RocksReadSnapshot<'a>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(RocksReadSnapshot<'a>)

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.