[][src]Enum wasi_crypto_preview::types::KeypairEncoding

#[repr(u16)]pub enum KeypairEncoding {
    Raw,
    Pkcs8,
    Der,
    Pem,
}

Variants

Raw
Pkcs8
Der
Pem

Trait Implementations

impl Clone for KeypairEncoding[src]

impl Copy for KeypairEncoding[src]

impl Debug for KeypairEncoding[src]

impl Display for KeypairEncoding[src]

impl Eq for KeypairEncoding[src]

impl From<KeypairEncoding> for KeyPairEncoding[src]

impl From<KeypairEncoding> for u16[src]

impl From<KeypairEncoding> for i32[src]

impl<'a> GuestType<'a> for KeypairEncoding[src]

impl<'a> GuestTypeTransparent<'a> for KeypairEncoding[src]

impl Hash for KeypairEncoding[src]

impl PartialEq<KeypairEncoding> for KeypairEncoding[src]

impl StructuralEq for KeypairEncoding[src]

impl StructuralPartialEq for KeypairEncoding[src]

impl TryFrom<i32> for KeypairEncoding[src]

type Error = GuestError

The type returned in the event of a conversion error.

impl TryFrom<u16> for KeypairEncoding[src]

type Error = GuestError

The type returned in the event of a conversion error.

Auto Trait Implementations

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> Instrument for T[src]

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

impl<T> Pointee for T[src]

type Pointer = u32

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.