[][src]Struct tox_packet::relay::RouteRequest

pub struct RouteRequest {
    pub pk: PublicKey,
}

Sent by client to server. Send a routing request to the server that we want to connect to peer with public key where the public key is the public the peer announced themselves as. The server must respond to this with a RouteResponse.

Serialized form:

LengthContent
10x00
32Public Key

Fields

pk: PublicKey

The requested PK

Trait Implementations

impl Clone for RouteRequest[src]

impl Debug for RouteRequest[src]

impl FromBytes for RouteRequest[src]

impl PartialEq<RouteRequest> for RouteRequest[src]

impl StructuralPartialEq for RouteRequest[src]

impl ToBytes for RouteRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.