pub enum DependencyResourceUnavailableReasonV1 {
ResourceRootUnavailable,
Missing,
Unreadable,
ResourceBudgetExceeded,
}Expand description
Why a safe declaration could not be assigned a content identity.
Variants§
The byte-loading caller supplied no trusted resource root.
Missing
The accepted relative resource does not exist.
Unreadable
The accepted relative resource could not be opened or read.
ResourceBudgetExceeded
A closure capture budget stopped this resource.
Trait Implementations§
Source§fn clone(&self) -> DependencyResourceUnavailableReasonV1
fn clone(&self) -> DependencyResourceUnavailableReasonV1
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 moreSource§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn cmp(&self, other: &DependencyResourceUnavailableReasonV1) -> Ordering
fn cmp(&self, other: &DependencyResourceUnavailableReasonV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
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