pub struct TransportHandshake {
pub protocol: ProtocolVersion,
pub capabilities: Vec<Capability>,
}Fields§
§protocol: ProtocolVersion§capabilities: Vec<Capability>Trait Implementations§
Source§impl Clone for TransportHandshake
impl Clone for TransportHandshake
Source§fn clone(&self) -> TransportHandshake
fn clone(&self) -> TransportHandshake
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 TransportHandshake
impl Debug for TransportHandshake
impl Eq for TransportHandshake
Source§impl PartialEq for TransportHandshake
impl PartialEq for TransportHandshake
Source§fn eq(&self, other: &TransportHandshake) -> bool
fn eq(&self, other: &TransportHandshake) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransportHandshake
Auto Trait Implementations§
impl Freeze for TransportHandshake
impl RefUnwindSafe for TransportHandshake
impl Send for TransportHandshake
impl Sync for TransportHandshake
impl Unpin for TransportHandshake
impl UnsafeUnpin for TransportHandshake
impl UnwindSafe for TransportHandshake
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