[−][src]Struct tox_packet::onion::OnionRequest2Payload
Unencrypted payload of OnionRequest1
packet.
Inner payload should be sent as DHT packet to the next node with address from
ip_port
field.
Serialized form:
Length | Content |
---|---|
19 | IpPort of the next node |
32 | Temporary PublicKey |
variable | Payload |
where payload is encrypted InnerOnionRequest
Fields
ip_port: IpPort
Address of the next node in the onion path
inner: InnerOnionRequest
Inner onion request
Trait Implementations
impl Clone for OnionRequest2Payload
[src]
fn clone(&self) -> OnionRequest2Payload
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OnionRequest2Payload
[src]
impl Eq for OnionRequest2Payload
[src]
impl FromBytes for OnionRequest2Payload
[src]
impl PartialEq<OnionRequest2Payload> for OnionRequest2Payload
[src]
fn eq(&self, other: &OnionRequest2Payload) -> bool
[src]
fn ne(&self, other: &OnionRequest2Payload) -> bool
[src]
impl StructuralEq for OnionRequest2Payload
[src]
impl StructuralPartialEq for OnionRequest2Payload
[src]
impl ToBytes for OnionRequest2Payload
[src]
Auto Trait Implementations
impl RefUnwindSafe for OnionRequest2Payload
impl Send for OnionRequest2Payload
impl Sync for OnionRequest2Payload
impl Unpin for OnionRequest2Payload
impl UnwindSafe for OnionRequest2Payload
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,