[][src]Struct tox_packet::onion::OnionDataRequest

pub struct OnionDataRequest {
    pub inner: InnerOnionDataRequest,
    pub onion_return: OnionReturn,
}

Same as InnerOnionDataRequest but with OnionReturn addresses. It's sent from the third node from onion chain to the destination node.

See InnerOnionDataRequest for additional docs.

Serialized form:

LengthContent
10x85
32PublicKey of destination node
24Nonce
32Temporary PublicKey
variablePayload
177OnionReturn

Fields

inner: InnerOnionDataRequest

Inner onion data request that was enclosed in onion packets

onion_return: OnionReturn

Return address encrypted by the third node from onion chain

Trait Implementations

impl Clone for OnionDataRequest[src]

impl Debug for OnionDataRequest[src]

impl Eq for OnionDataRequest[src]

impl FromBytes for OnionDataRequest[src]

impl PartialEq<OnionDataRequest> for OnionDataRequest[src]

impl StructuralEq for OnionDataRequest[src]

impl StructuralPartialEq for OnionDataRequest[src]

impl ToBytes for OnionDataRequest[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.