pub enum ScopeParseError {
Wildcard(String),
Unknown(String),
}Expand description
Why a scope string failed to parse.
Variants§
Wildcard(String)
cloud:* and friends are rejected — composition rule (1), no wildcards
on the wire.
Unknown(String)
Not one of the closed-vocabulary literals.
Trait Implementations§
Source§impl Clone for ScopeParseError
impl Clone for ScopeParseError
Source§fn clone(&self) -> ScopeParseError
fn clone(&self) -> ScopeParseError
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 ScopeParseError
impl Debug for ScopeParseError
Source§impl Display for ScopeParseError
impl Display for ScopeParseError
impl Eq for ScopeParseError
Source§impl Error for ScopeParseError
impl Error for ScopeParseError
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 ScopeParseError
impl PartialEq for ScopeParseError
impl StructuralPartialEq for ScopeParseError
Auto Trait Implementations§
impl Freeze for ScopeParseError
impl RefUnwindSafe for ScopeParseError
impl Send for ScopeParseError
impl Sync for ScopeParseError
impl Unpin for ScopeParseError
impl UnsafeUnpin for ScopeParseError
impl UnwindSafe for ScopeParseError
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