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),
}