#[non_exhaustive]pub enum BootstrapAccountError {
Missing,
Incomplete,
InvalidUnicode {
key: &'static str,
},
}Expand description
Invalid or incomplete bootstrap account configuration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Missing
No values were supplied for a required bootstrap account.
Incomplete
Only part of the required credential set was supplied.
InvalidUnicode
An environment value cannot be represented as Unicode.
Trait Implementations§
Source§impl Clone for BootstrapAccountError
impl Clone for BootstrapAccountError
impl Copy for BootstrapAccountError
Source§impl Debug for BootstrapAccountError
impl Debug for BootstrapAccountError
Source§impl Display for BootstrapAccountError
impl Display for BootstrapAccountError
impl Eq for BootstrapAccountError
Source§impl Error for BootstrapAccountError
impl Error for BootstrapAccountError
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()
Source§impl PartialEq for BootstrapAccountError
impl PartialEq for BootstrapAccountError
impl StructuralPartialEq for BootstrapAccountError
Auto Trait Implementations§
impl Freeze for BootstrapAccountError
impl RefUnwindSafe for BootstrapAccountError
impl Send for BootstrapAccountError
impl Sync for BootstrapAccountError
impl Unpin for BootstrapAccountError
impl UnsafeUnpin for BootstrapAccountError
impl UnwindSafe for BootstrapAccountError
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