Struct x509_parser::certificate::TbsCertificateParser
source · pub struct TbsCertificateParser { /* private fields */ }
Expand description
TbsCertificate
parser builder
Implementations§
source§impl TbsCertificateParser
impl TbsCertificateParser
pub const fn new() -> Self
pub const fn with_deep_parse_extensions( self, deep_parse_extensions: bool ) -> Self
Trait Implementations§
source§impl Clone for TbsCertificateParser
impl Clone for TbsCertificateParser
source§fn clone(&self) -> TbsCertificateParser
fn clone(&self) -> TbsCertificateParser
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TbsCertificateParser
impl Debug for TbsCertificateParser
source§impl<'a> Parser<&'a [u8], TbsCertificate<'a>, X509Error> for TbsCertificateParser
impl<'a> Parser<&'a [u8], TbsCertificate<'a>, X509Error> for TbsCertificateParser
source§fn parse(
&mut self,
input: &'a [u8]
) -> IResult<&'a [u8], TbsCertificate<'a>, X509Error>
fn parse( &mut self, input: &'a [u8] ) -> IResult<&'a [u8], TbsCertificate<'a>, X509Error>
A parser takes in input type, and returns a
Result
containing
either the remaining input and the output value, or an errorsource§fn flat_map<G, H, O2>(self, g: G) -> FlatMap<Self, G, O>
fn flat_map<G, H, O2>(self, g: G) -> FlatMap<Self, G, O>
Creates a second parser from the output of the first one, then apply over the rest of the input
source§fn and_then<G, O2>(self, g: G) -> AndThen<Self, G, O>
fn and_then<G, O2>(self, g: G) -> AndThen<Self, G, O>
Applies a second parser over the output of the first one
source§fn and<G, O2>(self, g: G) -> And<Self, G>
fn and<G, O2>(self, g: G) -> And<Self, G>
Applies a second parser after the first one, return their results as a tuple
impl Copy for TbsCertificateParser
Auto Trait Implementations§
impl RefUnwindSafe for TbsCertificateParser
impl Send for TbsCertificateParser
impl Sync for TbsCertificateParser
impl Unpin for TbsCertificateParser
impl UnwindSafe for TbsCertificateParser
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more