pub enum PasswordResolutionError {
MissingEnvVar {
role: String,
env_var: String,
},
EmptyPassword {
role: String,
env_var: String,
},
}Expand description
Errors that can occur during password resolution.
Variants§
Trait Implementations§
Source§impl Debug for PasswordResolutionError
impl Debug for PasswordResolutionError
Source§impl Display for PasswordResolutionError
impl Display for PasswordResolutionError
Source§impl Error for PasswordResolutionError
impl Error for PasswordResolutionError
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 PasswordResolutionError
impl RefUnwindSafe for PasswordResolutionError
impl Send for PasswordResolutionError
impl Sync for PasswordResolutionError
impl Unpin for PasswordResolutionError
impl UnsafeUnpin for PasswordResolutionError
impl UnwindSafe for PasswordResolutionError
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