pub(crate) fn transaction_priority(&self) -> u8 {
        match &self {
            DbRecord::Azks(_) => 2,
            _ => 1,
        }
    }
/// Returns the priority in which a record type in a transaction should be committed to storage.
/// A smaller value indicates higher priority in being written first.
/// An Azks record should always be updated last, so that any concurrent storage readers will
/// not see an increase in the current epoch until every other record for the new epoch has
/// been written to storage.
Returns the priority in which a record type in a transaction should be committed to storage.
A smaller value indicates higher priority in being written first.
An Azks record should always be updated last, so that any concurrent storage readers will
not see an increase in the current epoch until every other record for the new epoch has
been written to storage.
Returns the priority in which a record type in a transaction should be committed to storage . A smaller value indicates higher priority in being written first . An Azks record should always be updated last so that any concurrent storage readers will not see an increase in the current epoch until every other record for the new epoch has been written to storage .
pub(crate) fn transaction_priority(&self) -> u8 {
        match &self {
            DbRecord::Azks(_) => 2,
            _ => 1,
        }
    }
pub ( crate ) fn transaction_priority ( & self ) -> u8 { match & self { DbRecord :: Azks ( _ ) => 2 , _ => 1 , } }
Returns the priority in which a record type in a transaction should be committed to storage.
Returns the priority in which a record type in a transaction should be committed to storage .
&self
&self