pub struct Pem { /* private fields */ }
Expand description
A representation of Pem-encoded data
Implementations§
source§impl Pem
impl Pem
sourcepub fn into_contents(self) -> Vec<u8>
pub fn into_contents(self) -> Vec<u8>
Consume the Pem struct to get an owned copy of the binary contents
sourcepub fn headers_mut(&mut self) -> &mut HeaderMap
pub fn headers_mut(&mut self) -> &mut HeaderMap
Get the header map for modification
Trait Implementations§
impl StructuralPartialEq for Pem
Auto Trait Implementations§
impl Freeze for Pem
impl RefUnwindSafe for Pem
impl Send for Pem
impl Sync for Pem
impl Unpin for Pem
impl UnwindSafe for Pem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)