pub enum AppRoleError {
RoleNotFound {
name: String,
},
InvalidSecretId {
role_name: String,
},
InvalidConfig {
reason: String,
},
Internal {
reason: String,
},
Barrier(BarrierError),
}Expand description
Errors from the AppRole auth method.
Variants§
RoleNotFound
AppRole role not found.
InvalidSecretId
Invalid secret ID.
InvalidConfig
Invalid configuration.
Internal
Internal error.
Barrier(BarrierError)
The barrier returned an error.
Trait Implementations§
Source§impl Debug for AppRoleError
impl Debug for AppRoleError
Source§impl Display for AppRoleError
impl Display for AppRoleError
Source§impl Error for AppRoleError
impl Error for AppRoleError
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<BarrierError> for AppRoleError
impl From<BarrierError> for AppRoleError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppRoleError
impl RefUnwindSafe for AppRoleError
impl Send for AppRoleError
impl Sync for AppRoleError
impl Unpin for AppRoleError
impl UnwindSafe for AppRoleError
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