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§
pub enum GenResult<W> {
Ok(WriteContext<W>),
Err(GenError),
}
Variants§
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.