pub struct NativeRootsError {
pub message: String,
}Expand description
Shared error type. Carries an operator-readable message; the
underlying rustls_native_certs::Error is not Clone, so we
stringify at first-failure time and re-yield the same string on
subsequent calls.
Fields§
§message: StringTrait Implementations§
Source§impl Clone for NativeRootsError
impl Clone for NativeRootsError
Source§fn clone(&self) -> NativeRootsError
fn clone(&self) -> NativeRootsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativeRootsError
impl Debug for NativeRootsError
Source§impl Display for NativeRootsError
impl Display for NativeRootsError
Source§impl Error for NativeRootsError
impl Error for NativeRootsError
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 NativeRootsError
impl RefUnwindSafe for NativeRootsError
impl Send for NativeRootsError
impl Sync for NativeRootsError
impl Unpin for NativeRootsError
impl UnsafeUnpin for NativeRootsError
impl UnwindSafe for NativeRootsError
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