#[non_exhaustive]pub enum ResourceResolutionState {
OnlineAtKnownLocator,
ResolvedExact,
ResolvedProbable,
Offline,
Ambiguous,
Error,
}Expand description
The outcome of resolving one storage resource.
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.
OnlineAtKnownLocator
A persisted locator is currently online.
ResolvedExact
One candidate has exact identity evidence.
ResolvedProbable
One candidate is credible but lacks exact verification.
Offline
No credible candidate was found.
Ambiguous
Multiple candidates require an explicit decision.
Error
Candidate discovery or verification could not complete safely.
Trait Implementations§
Source§impl Clone for ResourceResolutionState
impl Clone for ResourceResolutionState
Source§fn clone(&self) -> ResourceResolutionState
fn clone(&self) -> ResourceResolutionState
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 ResourceResolutionState
Source§impl Debug for ResourceResolutionState
impl Debug for ResourceResolutionState
impl Eq for ResourceResolutionState
Source§impl Hash for ResourceResolutionState
impl Hash for ResourceResolutionState
Source§impl PartialEq for ResourceResolutionState
impl PartialEq for ResourceResolutionState
Source§fn eq(&self, other: &ResourceResolutionState) -> bool
fn eq(&self, other: &ResourceResolutionState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceResolutionState
Auto Trait Implementations§
impl Freeze for ResourceResolutionState
impl RefUnwindSafe for ResourceResolutionState
impl Send for ResourceResolutionState
impl Sync for ResourceResolutionState
impl Unpin for ResourceResolutionState
impl UnsafeUnpin for ResourceResolutionState
impl UnwindSafe for ResourceResolutionState
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