[−][src]Struct tox_packet::relay::Data
Sent by client to server.
The client sends data with connection_id
and the server
relays it to the given connection
Serialized form:
Length | Content |
---|---|
1 | connection_id [ 0x10 .. 0xFF ] |
variable | Data |
Fields
connection_id: ConnectionId
The id of the connection of the client
data: DataPayload
Data payload
Trait Implementations
impl Clone for Data
[src]
impl Debug for Data
[src]
impl FromBytes for Data
[src]
impl PartialEq<Data> for Data
[src]
impl StructuralPartialEq for Data
[src]
impl ToBytes for Data
[src]
Auto Trait Implementations
impl RefUnwindSafe for Data
[src]
impl Send for Data
[src]
impl Sync for Data
[src]
impl Unpin for Data
[src]
impl UnwindSafe for Data
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,