Struct x509_parser::certificate::TbsCertificateParser
source · [−]pub struct TbsCertificateParser { /* private fields */ }
Expand description
TbsCertificate
parser builder
Implementations
sourceimpl TbsCertificateParser
impl TbsCertificateParser
pub const fn new() -> Self
pub const fn with_deep_parse_extensions(
self,
deep_parse_extensions: bool
) -> Self
Trait Implementations
sourceimpl Clone for TbsCertificateParser
impl Clone for TbsCertificateParser
sourcefn clone(&self) -> TbsCertificateParser
fn clone(&self) -> TbsCertificateParser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TbsCertificateParser
impl Debug for TbsCertificateParser
sourceimpl<'a> Parser<&'a [u8], TbsCertificate<'a>, X509Error> for TbsCertificateParser
impl<'a> Parser<&'a [u8], TbsCertificate<'a>, X509Error> for TbsCertificateParser
sourcefn 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 error Read more
sourcefn map<G, O2>(self, g: G) -> Map<Self, G, O> where
G: Fn(O) -> O2,
fn map<G, O2>(self, g: G) -> Map<Self, G, O> where
G: Fn(O) -> O2,
Maps a function over the result of a parser
sourcefn flat_map<G, H, O2>(self, g: G) -> FlatMap<Self, G, O> where
G: FnMut(O) -> H,
H: Parser<I, O2, E>,
fn flat_map<G, H, O2>(self, g: G) -> FlatMap<Self, G, O> where
G: FnMut(O) -> H,
H: Parser<I, O2, E>,
Creates a second parser from the output of the first one, then apply over the rest of the input
sourcefn and_then<G, O2>(self, g: G) -> AndThen<Self, G, O> where
G: Parser<O, O2, E>,
fn and_then<G, O2>(self, g: G) -> AndThen<Self, G, O> where
G: Parser<O, O2, E>,
Applies a second parser over the output of the first one
sourcefn and<G, O2>(self, g: G) -> And<Self, G> where
G: Parser<I, O2, E>,
fn and<G, O2>(self, g: G) -> And<Self, G> where
G: Parser<I, O2, E>,
Applies a second parser after the first one, return their results as a tuple
sourceimpl PartialEq<TbsCertificateParser> for TbsCertificateParser
impl PartialEq<TbsCertificateParser> for TbsCertificateParser
sourcefn eq(&self, other: &TbsCertificateParser) -> bool
fn eq(&self, other: &TbsCertificateParser) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TbsCertificateParser) -> bool
fn ne(&self, other: &TbsCertificateParser) -> bool
This method tests for !=
.
impl Copy for TbsCertificateParser
impl StructuralPartialEq 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
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more