pub enum BootstrapError {
Storage(StorageError),
Acme(Error),
Issue(IssueError),
Cert(CertError),
}Expand description
Why the manager could not be built, or could not obtain a first certificate.
Variants§
Storage(StorageError)
The data directory could not be prepared, or a saved file did not parse.
Acme(Error)
Creating or restoring the ACME account failed.
Issue(IssueError)
No certificate was on disk and the first issuance failed.
Cert(CertError)
The certificate this crate just obtained or loaded from disk could
not be turned into something rustls can serve.
Trait Implementations§
Source§impl Debug for BootstrapError
impl Debug for BootstrapError
Source§impl Display for BootstrapError
impl Display for BootstrapError
Source§impl Error for BootstrapError
impl Error for BootstrapError
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<CertError> for BootstrapError
impl From<CertError> for BootstrapError
Source§impl From<Error> for BootstrapError
impl From<Error> for BootstrapError
Source§impl From<IssueError> for BootstrapError
impl From<IssueError> for BootstrapError
Source§fn from(source: IssueError) -> Self
fn from(source: IssueError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for BootstrapError
impl From<StorageError> for BootstrapError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BootstrapError
impl !RefUnwindSafe for BootstrapError
impl Send for BootstrapError
impl Sync for BootstrapError
impl Unpin for BootstrapError
impl UnsafeUnpin for BootstrapError
impl !UnwindSafe for BootstrapError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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