pub enum OpensslConnectorError {
SslErrorStack(String),
NoUsableDaneTlsa {
hostname: String,
tlsa: Vec<TLSA>,
},
}Expand description
Errors that can occur when building an OpenSSL connector.
Variants§
Trait Implementations§
Source§impl Clone for OpensslConnectorError
impl Clone for OpensslConnectorError
Source§fn clone(&self) -> OpensslConnectorError
fn clone(&self) -> OpensslConnectorError
Returns a duplicate of the value. Read more
1.0.0 · 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 OpensslConnectorError
impl Debug for OpensslConnectorError
Source§impl Display for OpensslConnectorError
impl Display for OpensslConnectorError
Source§impl Error for OpensslConnectorError
impl Error for OpensslConnectorError
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 From<ErrorStack> for OpensslConnectorError
impl From<ErrorStack> for OpensslConnectorError
Source§fn from(err: ErrorStack) -> Self
fn from(err: ErrorStack) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpensslConnectorError
impl RefUnwindSafe for OpensslConnectorError
impl Send for OpensslConnectorError
impl Sync for OpensslConnectorError
impl Unpin for OpensslConnectorError
impl UnwindSafe for OpensslConnectorError
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