Struct rustls::internal::msgs::handshake::PresharedKeyOffer [−][src]
pub struct PresharedKeyOffer {
pub identities: PresharedKeyIdentities,
pub binders: PresharedKeyBinders,
}Fields
identities: PresharedKeyIdentitiesbinders: PresharedKeyBindersImplementations
impl PresharedKeyOffer[src]
impl PresharedKeyOffer[src]pub fn new(id: PresharedKeyIdentity, binder: Vec<u8>) -> PresharedKeyOffer[src]
Make a new one with one entry.
Trait Implementations
impl Clone for PresharedKeyOffer[src]
impl Clone for PresharedKeyOffer[src]fn clone(&self) -> PresharedKeyOffer[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Codec for PresharedKeyOffer[src]
impl Codec for PresharedKeyOffer[src]