pub struct HandshakeResp {
pub connection: Connection,
pub serial: u32,
pub negotiated_interfaces: HashMap<String, u32>,
}Expand description
Handshake response.
Fields§
§connection: ConnectionGlobal ei_connection singleton object.
serial: u32Serial number of ei_handshake.connection.
negotiated_interfaces: HashMap<String, u32>Interfaces along with their versions negotiated in the handshake.
Trait Implementations§
Source§impl Clone for HandshakeResp
impl Clone for HandshakeResp
Source§fn clone(&self) -> HandshakeResp
fn clone(&self) -> HandshakeResp
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for HandshakeResp
impl RefUnwindSafe for HandshakeResp
impl Send for HandshakeResp
impl Sync for HandshakeResp
impl Unpin for HandshakeResp
impl UnsafeUnpin for HandshakeResp
impl UnwindSafe for HandshakeResp
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