pub enum IncludeError {
NotAnNsid(String),
NotAServiceReference(String),
}Expand description
Why an include: scope names no permission set.
Variants§
NotAnNsid(String)
The set’s name is not an NSID.
NotAServiceReference(String)
aud is not a did:plc or a did:web with a service fragment.
Trait Implementations§
Source§impl Clone for IncludeError
impl Clone for IncludeError
Source§fn clone(&self) -> IncludeError
fn clone(&self) -> IncludeError
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 IncludeError
impl Debug for IncludeError
Source§impl Display for IncludeError
impl Display for IncludeError
Source§impl Error for IncludeError
impl Error for IncludeError
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 IncludeError
impl PartialEq for IncludeError
Source§fn eq(&self, other: &IncludeError) -> bool
fn eq(&self, other: &IncludeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IncludeError
impl StructuralPartialEq for IncludeError
Auto Trait Implementations§
impl Freeze for IncludeError
impl RefUnwindSafe for IncludeError
impl Send for IncludeError
impl Sync for IncludeError
impl Unpin for IncludeError
impl UnsafeUnpin for IncludeError
impl UnwindSafe for IncludeError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.