Struct rustls::internal::msgs::handshake::ServerECDHParams[][src]

pub struct ServerECDHParams {
    pub curve_params: ECParameters,
    pub public: PayloadU8,
}

Fields

curve_params: ECParameterspublic: PayloadU8

Implementations

impl ServerECDHParams[src]

pub fn new(named_group: NamedGroup, pubkey: &[u8]) -> ServerECDHParams[src]

Trait Implementations

impl Codec for ServerECDHParams[src]

impl Debug for ServerECDHParams[src]

Auto Trait Implementations

impl RefUnwindSafe for ServerECDHParams

impl Send for ServerECDHParams

impl Sync for ServerECDHParams

impl Unpin for ServerECDHParams

impl UnwindSafe for ServerECDHParams

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.