pub struct AuthenticationScopeError { /* private fields */ }Expand description
Payload-free authentication-scope policy failure.
Implementations§
Source§impl AuthenticationScopeError
impl AuthenticationScopeError
Sourcepub const fn field(self) -> ScopeField
pub const fn field(self) -> ScopeField
Returns the rejected field without exposing its value.
Sourcepub const fn violation(self) -> ScopeViolation
pub const fn violation(self) -> ScopeViolation
Returns the payload-free rejection category.
Trait Implementations§
Source§impl Clone for AuthenticationScopeError
impl Clone for AuthenticationScopeError
Source§fn clone(&self) -> AuthenticationScopeError
fn clone(&self) -> AuthenticationScopeError
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 AuthenticationScopeError
Source§impl Debug for AuthenticationScopeError
impl Debug for AuthenticationScopeError
Source§impl Display for AuthenticationScopeError
impl Display for AuthenticationScopeError
impl Eq for AuthenticationScopeError
Source§impl Error for AuthenticationScopeError
impl Error for AuthenticationScopeError
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 AuthenticationScopeError
impl PartialEq for AuthenticationScopeError
impl StructuralPartialEq for AuthenticationScopeError
Auto Trait Implementations§
impl Freeze for AuthenticationScopeError
impl RefUnwindSafe for AuthenticationScopeError
impl Send for AuthenticationScopeError
impl Sync for AuthenticationScopeError
impl Unpin for AuthenticationScopeError
impl UnsafeUnpin for AuthenticationScopeError
impl UnwindSafe for AuthenticationScopeError
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