[]Enum ssb_publish::Content

pub enum Content<T> {
    Encrypted(Multibox),
    Plain(T),
}

Variants

Encrypted(Multibox)
Plain(T)

Trait Implementations

impl<T> Eq for Content<T> where
    T: Eq

impl<T> Clone for Content<T> where
    T: Clone

impl<T> Debug for Content<T> where
    T: Debug

impl<T> StructuralPartialEq for Content<T>

impl<T> StructuralEq for Content<T>

impl<T> PartialEq<Content<T>> for Content<T> where
    T: PartialEq<T>, 

impl<T> PartialOrd<Content<T>> for Content<T> where
    T: PartialOrd<T>, 

impl<T> Ord for Content<T> where
    T: Ord

Auto Trait Implementations

impl<T> Send for Content<T> where
    T: Send

impl<T> Sync for Content<T> where
    T: Sync

impl<T> Unpin for Content<T> where
    T: Unpin

impl<T> UnwindSafe for Content<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for Content<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]