pub type DerResult<'a> = BerResult<'a, DerObject<'a>>;
Expand description
Holds the result of parsing functions (DER)
Note that this type is also a Result
, so usual functions (map
, unwrap
etc.) are available.
Aliased Type§
pub enum DerResult<'a> {
Ok((&'a [u8], BerObject<'a>)),
Err(Err<Error>),
}
Variants§
Ok((&'a [u8], BerObject<'a>))
Contains the success value
Err(Err<Error>)
Contains the error value
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.