pub struct HandshakeReply {
pub version: u8,
pub mode: Mode,
}Expand description
DSK! reply from Agent B.
Fields§
§version: u8Selected protocol version.
mode: ModeSelected mode.
Implementations§
Trait Implementations§
Source§impl Clone for HandshakeReply
impl Clone for HandshakeReply
Source§fn clone(&self) -> HandshakeReply
fn clone(&self) -> HandshakeReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandshakeReply
impl Debug for HandshakeReply
Source§impl<'de> Deserialize<'de> for HandshakeReply
impl<'de> Deserialize<'de> for HandshakeReply
Source§fn 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
impl Eq for HandshakeReply
Source§impl PartialEq for HandshakeReply
impl PartialEq for HandshakeReply
Source§impl Serialize for HandshakeReply
impl Serialize for HandshakeReply
impl StructuralPartialEq for HandshakeReply
Auto Trait Implementations§
impl Freeze for HandshakeReply
impl RefUnwindSafe for HandshakeReply
impl Send for HandshakeReply
impl Sync for HandshakeReply
impl Unpin for HandshakeReply
impl UnsafeUnpin for HandshakeReply
impl UnwindSafe for HandshakeReply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more