Enum rcgen::RcgenError [−][src]
The error type of the rcgen crate
Variants
The given certificate couldn’t be parsed
The given key pair couldn’t be parsed
There is no support for generating keys for the given algorithm
The requested signature algorithm is not supported
Unspecified ring error
The provided certificate’s signature algorithm is incompatible with the given key pair
Time conversion related errors
PemError(PemError)
Error from the pem crate
Trait Implementations
impl Debug for RcgenError
[src]
impl Display for RcgenError
[src]
impl Eq for RcgenError
[src]
impl Error for RcgenError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<PemError> for RcgenError
[src]
impl From<Unspecified> for RcgenError
[src]
fn from(_unspecified: Unspecified) -> Self
[src]
impl PartialEq<RcgenError> for RcgenError
[src]
fn eq(&self, other: &RcgenError) -> bool
[src]
fn ne(&self, other: &RcgenError) -> bool
[src]
impl StructuralEq for RcgenError
[src]
impl StructuralPartialEq for RcgenError
[src]
Auto Trait Implementations
impl RefUnwindSafe for RcgenError
impl Send for RcgenError
impl Sync for RcgenError
impl Unpin for RcgenError
impl UnwindSafe for RcgenError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
pub fn name(&self) -> Option<&str>
[src]
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,