pub struct RuntimeActorMaterializationPermit { /* private fields */ }Expand description
Exclusive actor-create permit for one exact prepared runtime binding.
The persistent session service acquires this immediately before it starts building the live actor. Dropping an uncommitted permit restores the prior prepared/staged phase; committing it records that the actor exists but is still owned by the surrounding materialization transaction until executor attachment or an explicit retained-actor commit.
Implementations§
Source§impl RuntimeActorMaterializationPermit
impl RuntimeActorMaterializationPermit
pub fn commit(self) -> Result<(), RuntimeActorMaterializationError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeActorMaterializationPermit
impl !UnwindSafe for RuntimeActorMaterializationPermit
impl Freeze for RuntimeActorMaterializationPermit
impl Send for RuntimeActorMaterializationPermit
impl Sync for RuntimeActorMaterializationPermit
impl Unpin for RuntimeActorMaterializationPermit
impl UnsafeUnpin for RuntimeActorMaterializationPermit
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