pub enum FederationProviderError {
AuthStateNotFound(String),
Conflict(String),
Driver(String),
IdentityProviderNotFound(String),
MappingNotFound(String),
MappingTokenProjectDomainUnset,
MappingTokenUserDomainUnset,
Serde {
source: Error,
},
StructBuilder {
source: BuilderError,
},
UnsupportedDriver(String),
}Expand description
Federation provider error.
Variants§
AuthStateNotFound(String)
Conflict(String)
Conflict.
Driver(String)
Driver error.
IdentityProviderNotFound(String)
IDP not found.
MappingNotFound(String)
Mapping not found.
MappingTokenProjectDomainUnset
Use of token_project_id requires domain_id to be set.
MappingTokenUserDomainUnset
Use of token_user_id requires domain_id to be set.
Serde
Identity provider error.
StructBuilder
Structures builder error.
Fields
§
source: BuilderErrorThe source of the error.
UnsupportedDriver(String)
Unsupported driver.
Trait Implementations§
Source§impl Debug for FederationProviderError
impl Debug for FederationProviderError
Source§impl Display for FederationProviderError
impl Display for FederationProviderError
Source§impl Error for FederationProviderError
impl Error for FederationProviderError
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 From<BuilderError> for FederationProviderError
impl From<BuilderError> for FederationProviderError
Source§fn from(source: BuilderError) -> Self
fn from(source: BuilderError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FederationProviderError
impl From<Error> for FederationProviderError
Source§impl From<FederationProviderError> for KeystoneApiError
impl From<FederationProviderError> for KeystoneApiError
Source§fn from(source: FederationProviderError) -> Self
fn from(source: FederationProviderError) -> Self
Converts to this type from the input type.
Source§impl From<FederationProviderError> for KeystoneError
impl From<FederationProviderError> for KeystoneError
Source§fn from(source: FederationProviderError) -> Self
fn from(source: FederationProviderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FederationProviderError
impl !RefUnwindSafe for FederationProviderError
impl Send for FederationProviderError
impl Sync for FederationProviderError
impl Unpin for FederationProviderError
impl UnsafeUnpin for FederationProviderError
impl !UnwindSafe for FederationProviderError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP