[][src]Enum parsec_interface::operations::NativeOperation

pub enum NativeOperation {
    ListProviders(OpListProviders),
    ListOpcodes(OpListOpcodes),
    Ping(OpPing),
    CreateKey(OpCreateKey),
    ImportKey(OpImportKey),
    ExportPublicKey(OpExportPublicKey),
    DestroyKey(OpDestroyKey),
    AsymSign(OpAsymSign),
    AsymVerify(OpAsymVerify),
}

Container type for operation conversion values, holding a native operation object to be passed in/out of a converter.

Variants

ListProviders(OpListProviders)
ListOpcodes(OpListOpcodes)
Ping(OpPing)
CreateKey(OpCreateKey)
ImportKey(OpImportKey)
ExportPublicKey(OpExportPublicKey)
DestroyKey(OpDestroyKey)
AsymSign(OpAsymSign)
AsymVerify(OpAsymVerify)

Methods

impl NativeOperation[src]

pub fn opcode(&self) -> Opcode[src]

Trait Implementations

impl Debug for NativeOperation[src]

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, 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.