#[non_exhaustive]pub enum RetainedReason {
Referenced,
GraceWindow,
NoProviderTimestamp,
DegradedRoots,
UnrecognizedKey,
CheckpointNotReleasable,
UploadSessionWindow,
UploadSessionUndecided,
ContentScanDeferred,
}Expand description
The reason one candidate was retained, as the sweep site knows it. Each
variant is the field of RetainedCandidates it counts into, where the
reason itself is described.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Referenced
Counts into RetainedCandidates::referenced.
GraceWindow
Counts into RetainedCandidates::grace_window.
NoProviderTimestamp
Counts into RetainedCandidates::no_provider_timestamp.
DegradedRoots
Counts into RetainedCandidates::degraded_roots.
UnrecognizedKey
Counts into RetainedCandidates::unrecognized_key.
CheckpointNotReleasable
Counts into RetainedCandidates::checkpoint_not_releasable.
UploadSessionWindow
Counts into RetainedCandidates::upload_session_window.
UploadSessionUndecided
Counts into RetainedCandidates::upload_session_undecided.
ContentScanDeferred
Counts into RetainedCandidates::content_scan_deferred.
Trait Implementations§
Source§impl Clone for RetainedReason
impl Clone for RetainedReason
Source§fn clone(&self) -> RetainedReason
fn clone(&self) -> RetainedReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RetainedReason
Source§impl Debug for RetainedReason
impl Debug for RetainedReason
impl Eq for RetainedReason
Source§impl PartialEq for RetainedReason
impl PartialEq for RetainedReason
impl StructuralPartialEq for RetainedReason
Auto Trait Implementations§
impl Freeze for RetainedReason
impl RefUnwindSafe for RetainedReason
impl Send for RetainedReason
impl Sync for RetainedReason
impl Unpin for RetainedReason
impl UnsafeUnpin for RetainedReason
impl UnwindSafe for RetainedReason
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