pub struct TCPData {
pub connection_id: ConnectionID,
pub data: Vec<u8>,
}Fields§
§connection_id: ConnectionID§data: Vec<u8>Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for TCPData
impl<'__de, __Context> BorrowDecode<'__de, __Context> for TCPData
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.
impl StructuralPartialEq for TCPData
Auto Trait Implementations§
impl Freeze for TCPData
impl RefUnwindSafe for TCPData
impl Send for TCPData
impl Sync for TCPData
impl Unpin for TCPData
impl UnwindSafe for TCPData
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