[][src]Enum vru_sphinx::Processed

pub enum Processed<B, L, N, P> where
    B: Sphinx,
    L: ArrayLength<u8>,
    N: ArrayLength<PayloadHmac<L, B::MacLength>>,
    P: AsMut<[u8]>, 
{ Forward { data: GenericArray<u8, L>, next: AuthenticatedMessage<B, L, N, P>, }, Exit { data: GenericArray<u8, L>, message: P, }, }

Variants

Forward

Fields of Forward

data: GenericArray<u8, L>next: AuthenticatedMessage<B, L, N, P>
Exit

Fields of Exit

data: GenericArray<u8, L>message: P

Auto Trait Implementations

impl<B, L, N, P> RefUnwindSafe for Processed<B, L, N, P> where
    P: RefUnwindSafe,
    <L as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
    <N as ArrayLength<PayloadHmac<L, <B as Sphinx>::MacLength>>>::ArrayType: RefUnwindSafe,
    <<B as Sphinx>::MacLength as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<B, L, N, P> Send for Processed<B, L, N, P> where
    P: Send,
    <B as Sphinx>::MacLength: ArrayLength<u8>, 

impl<B, L, N, P> Sync for Processed<B, L, N, P> where
    P: Sync,
    <B as Sphinx>::MacLength: ArrayLength<u8>, 

impl<B, L, N, P> Unpin for Processed<B, L, N, P> where
    P: Unpin,
    <L as ArrayLength<u8>>::ArrayType: Unpin,
    <N as ArrayLength<PayloadHmac<L, <B as Sphinx>::MacLength>>>::ArrayType: Unpin,
    <<B as Sphinx>::MacLength as ArrayLength<u8>>::ArrayType: Unpin

impl<B, L, N, P> UnwindSafe for Processed<B, L, N, P> where
    P: UnwindSafe,
    <L as ArrayLength<u8>>::ArrayType: UnwindSafe,
    <N as ArrayLength<PayloadHmac<L, <B as Sphinx>::MacLength>>>::ArrayType: UnwindSafe,
    <<B as Sphinx>::MacLength as ArrayLength<u8>>::ArrayType: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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.