pub struct ConnectCommand {
pub nonce: Nonce,
pub server_challenge: ServerChallenge,
}
Fields§
§nonce: Nonce
§server_challenge: ServerChallenge
Implementations§
Source§impl ConnectCommand
impl ConnectCommand
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
Trait Implementations§
Source§impl Clone for ConnectCommand
impl Clone for ConnectCommand
Source§fn clone(&self) -> ConnectCommand
fn clone(&self) -> ConnectCommand
Returns a copy of the value. Read more
1.0.0 · 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 ConnectCommand
impl Debug for ConnectCommand
Source§impl PartialEq for ConnectCommand
impl PartialEq for ConnectCommand
impl Copy for ConnectCommand
impl StructuralPartialEq for ConnectCommand
Auto Trait Implementations§
impl Freeze for ConnectCommand
impl RefUnwindSafe for ConnectCommand
impl Send for ConnectCommand
impl Sync for ConnectCommand
impl Unpin for ConnectCommand
impl UnwindSafe for ConnectCommand
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