pub type RocksTxRefArg<'a> = Option<&'a RocksTx<'a>>;Available on Unix and crate feature
rocksdb only.Expand description
Helper type for RocksDB transaction reference argument in reader constructors.
When rocksdb feature is enabled, this is an optional reference to a RocksDB transaction.
The Option allows callers to skip transaction creation when RocksDB isn’t needed
(e.g., on legacy MDBX-only nodes).
When rocksdb feature is disabled, it’s () (unit type) to allow the same API without
feature gates.
Aliased Type§
pub enum RocksTxRefArg<'a> {
None,
Some(&'a RocksTx<'a>),
}Variants§
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.