[][src]Struct picky::pem::Pem

pub struct Pem<'a> { /* fields omitted */ }

Methods

impl<'a> Pem<'a>[src]

pub fn new<S: Into<String>, D: Into<Cow<'a, [u8]>>>(label: S, data: D) -> Self[src]

pub fn label(&self) -> &str[src]

pub fn data(&self) -> &[u8][src]

pub fn into_data(self) -> Cow<'a, [u8]>[src]

Trait Implementations

impl<'a> Clone for Pem<'a>[src]

impl<'a> Debug for Pem<'a>[src]

impl<'_> Display for Pem<'_>[src]

impl FromStr for Pem<'static>[src]

type Err = PemError

The associated error which can be returned from parsing.

impl<'_> Into<String> for Pem<'_>[src]

impl<'a> PartialEq<Pem<'a>> for Pem<'a>[src]

impl<'a> StructuralPartialEq for Pem<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Pem<'a>

impl<'a> Send for Pem<'a>

impl<'a> Sync for Pem<'a>

impl<'a> Unpin for Pem<'a>

impl<'a> UnwindSafe for Pem<'a>

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> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,