pub enum TlsError<E> {
Tls(Error),
Service(E),
}Expand description
Distinguishes a TLS failure from an application service failure.
Variants§
Tls(Error)
TLS setup, handshake, or transport failure.
Service(E)
Error returned by the wrapped application service.
Trait Implementations§
Auto Trait Implementations§
impl<E> !RefUnwindSafe for TlsError<E>
impl<E> !UnwindSafe for TlsError<E>
impl<E> Freeze for TlsError<E>where
E: Freeze,
impl<E> Send for TlsError<E>where
E: Send,
impl<E> Sync for TlsError<E>where
E: Sync,
impl<E> Unpin for TlsError<E>where
E: Unpin,
impl<E> UnsafeUnpin for TlsError<E>where
E: UnsafeUnpin,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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