pub enum BearerCredentialScopeError {
ValueRejected(ScopeValueError),
AllocationFailed,
EndpointIdentityRejected,
}Expand description
Owned authentication-scope construction failure.
Variants§
ValueRejected(ScopeValueError)
A provider-owned scope value failed core validation.
AllocationFailed
Adapter-owned scope storage could not be allocated.
EndpointIdentityRejected
A previously admitted endpoint identity could not be recovered.
Trait Implementations§
Source§impl Clone for BearerCredentialScopeError
impl Clone for BearerCredentialScopeError
Source§fn clone(&self) -> BearerCredentialScopeError
fn clone(&self) -> BearerCredentialScopeError
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 BearerCredentialScopeError
Source§impl Debug for BearerCredentialScopeError
impl Debug for BearerCredentialScopeError
Source§impl Display for BearerCredentialScopeError
impl Display for BearerCredentialScopeError
impl Eq for BearerCredentialScopeError
Source§impl Error for BearerCredentialScopeError
impl Error for BearerCredentialScopeError
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()
impl StructuralPartialEq for BearerCredentialScopeError
Auto Trait Implementations§
impl Freeze for BearerCredentialScopeError
impl RefUnwindSafe for BearerCredentialScopeError
impl Send for BearerCredentialScopeError
impl Sync for BearerCredentialScopeError
impl Unpin for BearerCredentialScopeError
impl UnsafeUnpin for BearerCredentialScopeError
impl UnwindSafe for BearerCredentialScopeError
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