pub enum BorrowedMetadata {
None,
Borrowed(u64),
LegacyBorrowed(u64),
}Expand description
Indicates whether a replayed transaction borrowed metadata space.
Variants§
None
Funded transaction (JournalRecord::Commit) that adds 4 * txn_size to M_total.
Borrowed(u64)
V61+ transaction (JournalRecord::CommitBorrowed(u64)) that borrowed metadata space,
carrying M_total (metadata_reservation.amount()).
LegacyBorrowed(u64)
Pre-V61 transaction that contained a Mutation::UpdateBorrowed(u64) record.
Trait Implementations§
Source§impl Clone for BorrowedMetadata
impl Clone for BorrowedMetadata
impl Copy for BorrowedMetadata
Source§impl Debug for BorrowedMetadata
impl Debug for BorrowedMetadata
Source§impl Default for BorrowedMetadata
impl Default for BorrowedMetadata
impl Eq for BorrowedMetadata
Source§impl PartialEq for BorrowedMetadata
impl PartialEq for BorrowedMetadata
impl StructuralPartialEq for BorrowedMetadata
Auto Trait Implementations§
impl Freeze for BorrowedMetadata
impl RefUnwindSafe for BorrowedMetadata
impl Send for BorrowedMetadata
impl Sync for BorrowedMetadata
impl Unpin for BorrowedMetadata
impl UnsafeUnpin for BorrowedMetadata
impl UnwindSafe for BorrowedMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more