[][src]Struct tox_packet::onion::OnionResponse3

pub struct OnionResponse3 {
    pub onion_return: OnionReturn,
    pub payload: InnerOnionResponse,
}

Third onion response packet. It's sent back from the destination node to the third node from onion chain.

Serialized form:

LengthContent
10x8c
177OnionReturn
variablePayload

where payload is encrypted OnionAnnounceResponse or OnionDataResponse

Fields

onion_return: OnionReturn

Return address encrypted by the third node from onion chain

payload: InnerOnionResponse

Encrypted payload

Trait Implementations

impl Clone for OnionResponse3[src]

impl Debug for OnionResponse3[src]

impl Eq for OnionResponse3[src]

impl FromBytes for OnionResponse3[src]

impl PartialEq<OnionResponse3> for OnionResponse3[src]

impl StructuralEq for OnionResponse3[src]

impl StructuralPartialEq for OnionResponse3[src]

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