Struct pem::Pem[][src]

pub struct Pem {
    pub tag: String,
    pub contents: Vec<u8>,
}

A representation of Pem-encoded data

Fields

tag: String

The tag extracted from the Pem-encoded data

contents: Vec<u8>

The binary contents of the Pem-encoded data

Trait Implementations

impl Debug for Pem[src]

impl PartialEq<Pem> for Pem[src]

impl StructuralPartialEq for Pem[src]

Auto Trait Implementations

impl RefUnwindSafe for Pem

impl Send for Pem

impl Sync for Pem

impl Unpin for Pem

impl UnwindSafe for Pem

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.