Struct byztimed::wire::ResponseEnvelope[][src]

pub struct ResponseEnvelope {
    pub ad: Vec<u8>,
    pub nonce: Vec<u8>,
    pub ciphertext: Vec<u8>,
}

Encrypted envelope for a response to a time query

Fields

ad: Vec<u8>

Serialized ResponseAD

nonce: Vec<u8>

Nonce for AEAD

ciphertext: Vec<u8>

Encrypted serialized Response

Trait Implementations

impl Clone for ResponseEnvelope[src]

impl Debug for ResponseEnvelope[src]

impl Default for ResponseEnvelope[src]

impl Message for ResponseEnvelope[src]

impl PartialEq<ResponseEnvelope> for ResponseEnvelope[src]

impl StructuralPartialEq for ResponseEnvelope[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> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,