pub enum TlsAcceptorError {
InvalidPem(Error),
ServerConfig(Error),
FileRead(Error),
}Expand description
Error when creating a TlsAcceptor
Variants§
InvalidPem(Error)
PEM data was invalid
ServerConfig(Error)
Rustls failed to create the ServerConfig
FileRead(Error)
Failed to read a file
Trait Implementations§
Source§impl Debug for TlsAcceptorError
impl Debug for TlsAcceptorError
Source§impl Display for TlsAcceptorError
impl Display for TlsAcceptorError
Source§impl Error for TlsAcceptorError
impl Error for TlsAcceptorError
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<Error> for TlsAcceptorError
impl From<Error> for TlsAcceptorError
Auto Trait Implementations§
impl Freeze for TlsAcceptorError
impl !RefUnwindSafe for TlsAcceptorError
impl Send for TlsAcceptorError
impl Sync for TlsAcceptorError
impl Unpin for TlsAcceptorError
impl !UnwindSafe for TlsAcceptorError
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