Struct TlsInfo
struct TlsInfo { ... }
Hyper extension carrying extra TLS layer information.
Made available to clients on responses when tls_info is set.
Implementations
impl TlsInfo
fn peer_certificate(self: &Self) -> Option<&[u8]>Get the DER encoded leaf certificate of the peer.
impl Clone for TlsInfo
fn clone(self: &Self) -> TlsInfo
impl Debug for TlsInfo
fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl Freeze for TlsInfo
impl RefUnwindSafe for TlsInfo
impl Send for TlsInfo
impl Sync for TlsInfo
impl Unpin for TlsInfo
impl UnwindSafe for TlsInfo
impl<T> Any for TlsInfo
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for TlsInfo
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for TlsInfo
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for TlsInfo
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> ErasedDestructor for TlsInfo
impl<T> From for TlsInfo
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for TlsInfo
impl<T> PolicyExt for TlsInfo
fn and<P, B, E>(self: Self, other: P) -> And<T, P> where T: Policy<B, E>, P: Policy<B, E>fn or<P, B, E>(self: Self, other: P) -> Or<T, P> where T: Policy<B, E>, P: Policy<B, E>
impl<T> ToOwned for TlsInfo
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> WithSubscriber for TlsInfo
impl<T, U> Into for TlsInfo
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for TlsInfo
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for TlsInfo
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>