Struct rustls::HandshakeSignatureValid[][src]

pub struct HandshakeSignatureValid(_);

Marker types. These are used to bind the fact some verification (certificate chain or handshake signature) has taken place into protocol states. We use this to have the compiler check that there are no ‘goto fail’-style elisions of important checks before we reach the traffic stage.

These types are public, but cannot be directly constructed. This means their origins can be precisely determined by looking for their assertion constructors.

Implementations

impl HandshakeSignatureValid[src]

pub fn assertion() -> Self[src]

Make a HandshakeSignatureValid

Auto Trait Implementations

impl RefUnwindSafe for HandshakeSignatureValid

impl Send for HandshakeSignatureValid

impl Sync for HandshakeSignatureValid

impl Unpin for HandshakeSignatureValid

impl UnwindSafe for HandshakeSignatureValid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.