pub struct SerializableParticipant(/* private fields */);Expand description
All clones retain the original participant’s liveness through nested execution and pinned data views. The provider exposes this handle only after admission is retained. Lease release never acquires SSI admission or resolves a logical transaction. A final retained physical owner may subsequently perform its provider’s ordinary close.
Implementations§
Source§impl SerializableParticipant
impl SerializableParticipant
pub fn retain( id: SerializableTransactionId, lease: Box<dyn Send + Sync>, control: &StorageReadControl, ) -> VersionResult<Self>
pub fn id(&self) -> SerializableTransactionId
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SerializableParticipant
impl !UnwindSafe for SerializableParticipant
impl Freeze for SerializableParticipant
impl Send for SerializableParticipant
impl Sync for SerializableParticipant
impl Unpin for SerializableParticipant
impl UnsafeUnpin for SerializableParticipant
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