pub enum ScimConfigurationError {
ValidationError {
message: String,
},
NotFound {
tenant_id: String,
},
ClientConflict {
message: String,
},
InvalidEndpoint {
message: String,
},
SchemaExtensionError {
message: String,
},
}Expand description
Errors specific to SCIM configuration management.
Variants§
ValidationError
SCIM configuration validation failed
NotFound
SCIM configuration not found for tenant
ClientConflict
SCIM client configuration conflict
InvalidEndpoint
Invalid SCIM endpoint configuration
SchemaExtensionError
SCIM schema extension error
Trait Implementations§
Source§impl Debug for ScimConfigurationError
impl Debug for ScimConfigurationError
Source§impl Display for ScimConfigurationError
impl Display for ScimConfigurationError
Source§impl Error for ScimConfigurationError
impl Error for ScimConfigurationError
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()
Auto Trait Implementations§
impl Freeze for ScimConfigurationError
impl RefUnwindSafe for ScimConfigurationError
impl Send for ScimConfigurationError
impl Sync for ScimConfigurationError
impl Unpin for ScimConfigurationError
impl UnwindSafe for ScimConfigurationError
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> TenantValidator for T
impl<T> TenantValidator for T
Source§fn validate_tenant_context(
&self,
expected_tenant_id: &str,
context: &RequestContext,
) -> Result<(), String>
fn validate_tenant_context( &self, expected_tenant_id: &str, context: &RequestContext, ) -> Result<(), String>
Validate that the context has the expected tenant.
Source§fn validate_single_tenant_context(
&self,
context: &RequestContext,
) -> Result<(), String>
fn validate_single_tenant_context( &self, context: &RequestContext, ) -> Result<(), String>
Validate that the context is for single-tenant operation.
Source§fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
Extract tenant context or return error for multi-tenant operations.