[][src]Struct cookie_factory::Then

pub struct Then<A, B> {
    pub first: Option<A>,
    pub second: B,
}

Fields

first: Option<A>second: B

Methods

impl<A: Serializer, B: Serializer> Then<A, B>
[src]

pub fn new(a: A, b: B) -> Self
[src]

Trait Implementations

impl<A: Serializer, B: Serializer> Serializer for Then<A, B>
[src]

fn then<T>(self, next: T) -> Then<Self, T> where
    Self: Sized,
    T: Serializer
[src]

Auto Trait Implementations

impl<A, B> Send for Then<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Then<A, B> where
    A: Sync,
    B: Sync

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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