Type Alias cookie_factory::GenResult

source ·
pub type GenResult<W> = Result<WriteContext<W>, GenError>;
Expand description

Holds the result of serializing functions

The Ok case returns the Write used for writing, in the Err case an instance of cookie_factory::GenError is returned.

Aliased Type§

enum GenResult<W> {
    Ok(WriteContext<W>),
    Err(GenError),
}

Variants§

§1.0.0

Ok(WriteContext<W>)

Contains the success value

§1.0.0

Err(GenError)

Contains the error value