Enum dubp_documents::SignedOrUnsignedDocument[][src]

pub enum SignedOrUnsignedDocument<S, U> {
    Signed(S),
    Unsigned(U),
}

Signed or unsigned document

Variants

Signed(S)
Unsigned(U)

Trait Implementations

impl<S: Debug, U: Debug> Debug for SignedOrUnsignedDocument<S, U>[src]

Auto Trait Implementations

impl<S, U> RefUnwindSafe for SignedOrUnsignedDocument<S, U> where
    S: RefUnwindSafe,
    U: RefUnwindSafe

impl<S, U> Send for SignedOrUnsignedDocument<S, U> where
    S: Send,
    U: Send

impl<S, U> Sync for SignedOrUnsignedDocument<S, U> where
    S: Sync,
    U: Sync

impl<S, U> Unpin for SignedOrUnsignedDocument<S, U> where
    S: Unpin,
    U: Unpin

impl<S, U> UnwindSafe for SignedOrUnsignedDocument<S, U> where
    S: UnwindSafe,
    U: 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.