pub enum ScopeViolation {
MissingRequired,
SuppliedForbidden,
Mismatch,
InsecureEndpoint,
}Expand description
Payload-free reason a scope field failed validation.
Variants§
MissingRequired
A required field was omitted.
SuppliedForbidden
A forbidden field was supplied.
Mismatch
A supplied field did not equal the expected value.
InsecureEndpoint
An endpoint policy expected a non-HTTPS identity.
Trait Implementations§
Source§impl Clone for ScopeViolation
impl Clone for ScopeViolation
Source§fn clone(&self) -> ScopeViolation
fn clone(&self) -> ScopeViolation
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 ScopeViolation
Source§impl Debug for ScopeViolation
impl Debug for ScopeViolation
impl Eq for ScopeViolation
Source§impl PartialEq for ScopeViolation
impl PartialEq for ScopeViolation
impl StructuralPartialEq for ScopeViolation
Auto Trait Implementations§
impl Freeze for ScopeViolation
impl RefUnwindSafe for ScopeViolation
impl Send for ScopeViolation
impl Sync for ScopeViolation
impl Unpin for ScopeViolation
impl UnsafeUnpin for ScopeViolation
impl UnwindSafe for ScopeViolation
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