pub struct NewTCPConnection {
pub connection_id: ConnectionID,
pub address: IpAddr,
pub port: Port,
}Fields§
§connection_id: ConnectionID§address: IpAddr§port: PortTrait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for NewTCPConnection
impl<'__de, __Context> BorrowDecode<'__de, __Context> for NewTCPConnection
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for NewTCPConnection
impl Clone for NewTCPConnection
Source§fn clone(&self) -> NewTCPConnection
fn clone(&self) -> NewTCPConnection
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 moreSource§impl Debug for NewTCPConnection
impl Debug for NewTCPConnection
Source§impl<__Context> Decode<__Context> for NewTCPConnection
impl<__Context> Decode<__Context> for NewTCPConnection
Source§impl Encode for NewTCPConnection
impl Encode for NewTCPConnection
Source§impl PartialEq for NewTCPConnection
impl PartialEq for NewTCPConnection
impl StructuralPartialEq for NewTCPConnection
Auto Trait Implementations§
impl Freeze for NewTCPConnection
impl RefUnwindSafe for NewTCPConnection
impl Send for NewTCPConnection
impl Sync for NewTCPConnection
impl Unpin for NewTCPConnection
impl UnwindSafe for NewTCPConnection
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