Struct loco_protocol::secure::SecureHandshake
source · [−]pub struct SecureHandshake {
pub header: SecureHandshakeHeader,
pub encrypted_key: Vec<u8>,
}Fields
header: SecureHandshakeHeaderencrypted_key: Vec<u8>Trait Implementations
sourceimpl Clone for SecureHandshake
impl Clone for SecureHandshake
sourcefn clone(&self) -> SecureHandshake
fn clone(&self) -> SecureHandshake
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SecureHandshake
impl Debug for SecureHandshake
sourceimpl<'de> Deserialize<'de> for SecureHandshake
impl<'de> Deserialize<'de> for SecureHandshake
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
sourceimpl Serialize for SecureHandshake
impl Serialize for SecureHandshake
Auto Trait Implementations
impl RefUnwindSafe for SecureHandshake
impl Send for SecureHandshake
impl Sync for SecureHandshake
impl Unpin for SecureHandshake
impl UnwindSafe for SecureHandshake
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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