pub struct RetainedTransactionAllocation { /* private fields */ }Expand description
Keeps a managed allocation’s resolution owner alive through publication and acknowledgement retries. Dropping the final lease permits provider recovery, but never establishes a physical outcome by itself. The conservative untracked form preserves legacy providers’ manually retained receipt semantics.
Implementations§
Source§impl RetainedTransactionAllocation
impl RetainedTransactionAllocation
pub fn untracked(transaction: StorageTransactionId) -> Self
pub fn retain( transaction: StorageTransactionId, lease: SerializableParticipant, ) -> VersionResult<Self>
pub fn transaction(&self) -> StorageTransactionId
Auto Trait Implementations§
impl !RefUnwindSafe for RetainedTransactionAllocation
impl !UnwindSafe for RetainedTransactionAllocation
impl Freeze for RetainedTransactionAllocation
impl Send for RetainedTransactionAllocation
impl Sync for RetainedTransactionAllocation
impl Unpin for RetainedTransactionAllocation
impl UnsafeUnpin for RetainedTransactionAllocation
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