pub struct CleanupPending<'root> { /* private fields */ }Expand description
Only internally constructed from one owned staging directory. The path is diagnostic, not an arbitrary-path cleanup capability.
Implementations§
Source§impl CleanupPending<'_>
impl CleanupPending<'_>
Sourcepub fn retry(self) -> Result<CleanupObservation, Self>
pub fn retry(self) -> Result<CleanupObservation, Self>
Retries only this internally owned canonical child. Root protection against concurrent namespace replacement is a host precondition. Failure retains ownership; dropping a pending owner leaves charged uncertain artifacts for host recovery, and never reports removal.
Source§impl CleanupPending<'_>
impl CleanupPending<'_>
pub fn path(&self) -> &Path
pub const fn error(&self) -> RangeError
pub fn attempt_id(&self) -> [u8; 32]
Trait Implementations§
Auto Trait Implementations§
impl<'root> Freeze for CleanupPending<'root>
impl<'root> RefUnwindSafe for CleanupPending<'root>
impl<'root> Send for CleanupPending<'root>
impl<'root> Sync for CleanupPending<'root>
impl<'root> Unpin for CleanupPending<'root>
impl<'root> UnsafeUnpin for CleanupPending<'root>
impl<'root> UnwindSafe for CleanupPending<'root>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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