pub trait TxExt {
    type Const;
    fn to_const(self) -> Self::Const;
}
Expand description

Extension trait for Rc and Arc that allows up-casting a reference to ReadTransaction or WriteTransaction to ConstTransaction.

Associated Types

Required methods

Returns self as a handle to a ConstTransaction rather than the subtype that was passed in.

This is still a shared handle to the same transaction.

Implementations on Foreign Types

Implementors