pub enum DependencyResourceRefusalReasonV1 {
Absolute,
Escaping,
Remote,
Malformed,
Oversized,
Symlink,
}Expand description
Why a source-controlled locator was refused without opening it.
Variants§
Absolute
Absolute or drive-qualified locator.
Escaping
Lexical traversal or out-of-root locator.
Remote
Remote URI scheme.
Malformed
Malformed source spelling.
Oversized
Source spelling exceeded the locator budget.
Symlink
A host path component or final target was a symbolic link.
Trait Implementations§
Source§impl Clone for DependencyResourceRefusalReasonV1
impl Clone for DependencyResourceRefusalReasonV1
Source§fn clone(&self) -> DependencyResourceRefusalReasonV1
fn clone(&self) -> DependencyResourceRefusalReasonV1
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 DependencyResourceRefusalReasonV1
Source§impl<'de> Deserialize<'de> for DependencyResourceRefusalReasonV1
impl<'de> Deserialize<'de> for DependencyResourceRefusalReasonV1
Source§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
impl Eq for DependencyResourceRefusalReasonV1
Source§impl Ord for DependencyResourceRefusalReasonV1
impl Ord for DependencyResourceRefusalReasonV1
Source§fn cmp(&self, other: &DependencyResourceRefusalReasonV1) -> Ordering
fn cmp(&self, other: &DependencyResourceRefusalReasonV1) -> 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
Source§impl PartialOrd for DependencyResourceRefusalReasonV1
impl PartialOrd for DependencyResourceRefusalReasonV1
impl StructuralPartialEq for DependencyResourceRefusalReasonV1
Auto Trait Implementations§
impl Freeze for DependencyResourceRefusalReasonV1
impl RefUnwindSafe for DependencyResourceRefusalReasonV1
impl Send for DependencyResourceRefusalReasonV1
impl Sync for DependencyResourceRefusalReasonV1
impl Unpin for DependencyResourceRefusalReasonV1
impl UnsafeUnpin for DependencyResourceRefusalReasonV1
impl UnwindSafe for DependencyResourceRefusalReasonV1
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