pub enum MetadataReservation<'a> {
BorrowedMetadata,
BorrowedMetadataAndData,
Reservation(Reservation),
Hold(Hold<'a>),
}Variants§
BorrowedMetadata
Metadata space for this transaction is being borrowed from ObjectManager’s metadata reservation, but allocations/deallocations in the transaction do not use it.
BorrowedMetadataAndData
Metadata space for this transaction is being borrowed from ObjectManager’s metadata reservation, and allocations/deallocations in the transaction also use ObjectManager’s metadata reservation.
Reservation(Reservation)
A metadata reservation was made when the transaction was created.
Hold(Hold<'a>)
The metadata space is being held within an existing reservation.
Auto Trait Implementations§
impl<'a> !Freeze for MetadataReservation<'a>
impl<'a> !RefUnwindSafe for MetadataReservation<'a>
impl<'a> !Unpin for MetadataReservation<'a>
impl<'a> !UnwindSafe for MetadataReservation<'a>
impl<'a> Send for MetadataReservation<'a>
impl<'a> Sync for MetadataReservation<'a>
impl<'a> UnsafeUnpin for MetadataReservation<'a>
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<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