#[non_exhaustive]pub enum SuppliedSessionPolicyError {
Show 17 variants
PolicyTooLarge,
MalformedPolicy,
UnsupportedSchema,
UnsupportedCredentialMechanism,
UnsupportedCookieUpdatePolicy,
InvalidApplication,
InvalidPrincipalAlias,
InvalidHealthField,
InvalidPath,
InvalidResourceCount,
InvalidCookieCount,
InvalidCookieMetadata,
InvalidFormLogin,
InvalidOAuthCode,
InvalidOAuthRefresh,
InvalidOAuthAuthorization,
InvalidLimits,
}Expand description
Static, redaction-safe policy validation failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PolicyTooLarge
Policy input exceeded its compiled source ceiling.
MalformedPolicy
TOML, UTF-8, required fields, duplicate fields, or bounded values were invalid.
UnsupportedSchema
The schema identifier is not supported.
UnsupportedCredentialMechanism
The credential mechanism is not supported by V1.
UnsupportedCookieUpdatePolicy
The response-cookie update policy is not supported by V2.
InvalidApplication
The selected application is not a safe trailing-slash HTTP(S) application URL.
InvalidPrincipalAlias
A principal alias violated the bounded opaque-token contract.
InvalidHealthField
A health field violated the bounded top-level-field contract.
InvalidPath
A path was unsafe, action-oriented, duplicated, or outside the application.
InvalidResourceCount
The selected resource count violated V1’s closed bound.
InvalidCookieCount
The selected cookie count violated V2’s closed bound.
InvalidCookieMetadata
Cookie metadata was unsafe, out of scope, duplicated, or internally inconsistent.
InvalidFormLogin
Form-login paths, field bindings, acquisition, or attempt limit were invalid.
InvalidOAuthCode
The imported-code profile or its independently declared IdP authority is invalid.
InvalidOAuthRefresh
A selected OAuth refresh profile, boundary or replacement policy was invalid.
InvalidOAuthAuthorization
The client-initiated profile, fixed callback or authorization binding is invalid.
InvalidLimits
A policy limit was zero, inconsistent, or above a compiled maximum.
Trait Implementations§
Source§impl Clone for SuppliedSessionPolicyError
impl Clone for SuppliedSessionPolicyError
Source§fn clone(&self) -> SuppliedSessionPolicyError
fn clone(&self) -> SuppliedSessionPolicyError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SuppliedSessionPolicyError
Source§impl Debug for SuppliedSessionPolicyError
impl Debug for SuppliedSessionPolicyError
Source§impl Display for SuppliedSessionPolicyError
impl Display for SuppliedSessionPolicyError
impl Eq for SuppliedSessionPolicyError
Source§impl Error for SuppliedSessionPolicyError
impl Error for SuppliedSessionPolicyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl StructuralPartialEq for SuppliedSessionPolicyError
Auto Trait Implementations§
impl Freeze for SuppliedSessionPolicyError
impl RefUnwindSafe for SuppliedSessionPolicyError
impl Send for SuppliedSessionPolicyError
impl Sync for SuppliedSessionPolicyError
impl Unpin for SuppliedSessionPolicyError
impl UnsafeUnpin for SuppliedSessionPolicyError
impl UnwindSafe for SuppliedSessionPolicyError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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
§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
key and return true if they are equal.