pub struct Pfx<'a> { /* private fields */ }Expand description
Original PFX v3. Parsing does not invoke passwords or provider operations.
Implementations§
Source§impl<'a> Pfx<'a>
impl<'a> Pfx<'a>
Sourcepub fn read(parent: &mut Reader<'a>) -> Result<Self>
pub fn read(parent: &mut Reader<'a>) -> Result<Self>
Reads one complete BER/DER PFX at the producing source position.
Sourcepub fn read_element(parent: &Reader<'a>, element: &Element<'a>) -> Result<Self>
pub fn read_element(parent: &Reader<'a>, element: &Element<'a>) -> Result<Self>
Reads an embedded original PFX, without rejecting enclosing siblings.
Sourcepub fn original(&self) -> &EncodedValue<'a>
pub fn original(&self) -> &EncodedValue<'a>
Whole original PFX and its lazy original/current reader boundary.
Auto Trait Implementations§
impl<'a> !Freeze for Pfx<'a>
impl<'a> !RefUnwindSafe for Pfx<'a>
impl<'a> !Send for Pfx<'a>
impl<'a> !Sync for Pfx<'a>
impl<'a> !UnwindSafe for Pfx<'a>
impl<'a> Unpin for Pfx<'a>
impl<'a> UnsafeUnpin for Pfx<'a>
Blanket Implementations§
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