pub enum ScopeValidationError {
PathNotAbsolute,
PathTraversal,
EmptyHost,
HostSyntax,
}Expand description
Why a manifest scope is not well formed for v1 matching.
Variants§
PathNotAbsolute
Filesystem roots and requested paths must be absolute.
PathTraversal
Lexical parent/current segments would make containment ambiguous.
EmptyHost
A host must contain non-whitespace text.
HostSyntax
Hosts are exact values, not URLs, paths, or pattern expressions.
Trait Implementations§
Source§impl Clone for ScopeValidationError
impl Clone for ScopeValidationError
Source§fn clone(&self) -> ScopeValidationError
fn clone(&self) -> ScopeValidationError
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§impl Debug for ScopeValidationError
impl Debug for ScopeValidationError
Source§impl Display for ScopeValidationError
impl Display for ScopeValidationError
impl Eq for ScopeValidationError
Source§impl Error for ScopeValidationError
impl Error for ScopeValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ScopeValidationError
impl PartialEq for ScopeValidationError
impl StructuralPartialEq for ScopeValidationError
Auto Trait Implementations§
impl Freeze for ScopeValidationError
impl RefUnwindSafe for ScopeValidationError
impl Send for ScopeValidationError
impl Sync for ScopeValidationError
impl Unpin for ScopeValidationError
impl UnsafeUnpin for ScopeValidationError
impl UnwindSafe for ScopeValidationError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.