pub struct PreSharedKeyProposal { /* private fields */ }
Expand description
Preshared Key Proposal.
Trait Implementations
sourceimpl Clone for PreSharedKeyProposal
impl Clone for PreSharedKeyProposal
sourcefn clone(&self) -> PreSharedKeyProposal
fn clone(&self) -> PreSharedKeyProposal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PreSharedKeyProposal
impl Debug for PreSharedKeyProposal
sourceimpl Deserialize for PreSharedKeyProposal
impl Deserialize for PreSharedKeyProposal
sourcefn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the bytes
from the provided a std::io::Read
and returns the populated struct. Read more
sourceimpl<'de> Deserialize<'de> for PreSharedKeyProposal
impl<'de> Deserialize<'de> for PreSharedKeyProposal
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourcefn eq(&self, other: &PreSharedKeyProposal) -> bool
fn eq(&self, other: &PreSharedKeyProposal) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PreSharedKeyProposal) -> bool
fn ne(&self, other: &PreSharedKeyProposal) -> bool
This method tests for !=
.
sourceimpl Serialize for PreSharedKeyProposal
impl Serialize for PreSharedKeyProposal
sourceimpl Serialize for PreSharedKeyProposal
impl Serialize for PreSharedKeyProposal
sourceimpl Serialize for &PreSharedKeyProposal
impl Serialize for &PreSharedKeyProposal
sourceimpl Size for PreSharedKeyProposal
impl Size for PreSharedKeyProposal
fn tls_serialized_len(&self) -> usize
sourceimpl Size for &PreSharedKeyProposal
impl Size for &PreSharedKeyProposal
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for PreSharedKeyProposal
Auto Trait Implementations
impl RefUnwindSafe for PreSharedKeyProposal
impl Send for PreSharedKeyProposal
impl Sync for PreSharedKeyProposal
impl Unpin for PreSharedKeyProposal
impl UnwindSafe for PreSharedKeyProposal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more