pub enum EntryStatus {
Active(Owner),
Stale(Owner),
Unknown,
Idle(Owner),
}Expand description
Entry::status’s possible values.
Variants§
Active(Owner)
Held by a confirmed-live owner.
Stale(Owner)
Present, but the owner is confirmed gone — safe to reclaim.
Unknown
Present, but unreadable — never assume safe to reclaim.
Idle(Owner)
No live lease right now — the borrower released it cleanly — but the
catalog remembers this path was leased before, by the owner named
here. Safe to reclaim: nothing holds it, and nothing has to guess that
from the lease file’s mere absence, which is indistinguishable from a
path magi never touched (see [CatalogRecord]’s doc).
Trait Implementations§
Source§impl Clone for EntryStatus
impl Clone for EntryStatus
Auto Trait Implementations§
impl Freeze for EntryStatus
impl RefUnwindSafe for EntryStatus
impl Send for EntryStatus
impl Sync for EntryStatus
impl Unpin for EntryStatus
impl UnsafeUnpin for EntryStatus
impl UnwindSafe for EntryStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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