Enum plumbum::Chunk [] [src]

pub enum Chunk<O> {
    Chunk(O),
    Flush,
    End,
}

Variants

Chunk
Flush
End

Methods

impl<O> Chunk<O>

fn map<P, F: FnOnce(O) -> P>(self, f: F) -> Chunk<P>

fn unwrap_or(self, alternative: O) -> O

Trait Implementations

impl<O> From<O> for Chunk<O>

fn from(o: O) -> Chunk<O>