Enum pact_mock_server::tls::TlsConfigError [−][src]
pub enum TlsConfigError {
Io(Error),
CertParseError,
Pkcs8ParseError,
RsaParseError,
EmptyKey,
InvalidKey(TLSError),
}
Expand description
Represents errors that can occur building the TlsConfig
Variants
Io(Error)
IO Error
Tuple Fields of Io
0: Error
An Error parsing the Certificate
An Error parsing a Pkcs8 key
An Error parsing a Rsa key
An error from an empty key
InvalidKey(TLSError)
An error from an invalid key
Tuple Fields of InvalidKey
0: TLSError
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TlsConfigError
impl Send for TlsConfigError
impl Sync for TlsConfigError
impl Unpin for TlsConfigError
impl !UnwindSafe for TlsConfigError
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more