Enum yubihsm::algorithm::TemplateAlg[][src]

#[repr(u8)]
pub enum TemplateAlg { SSH, }

Template algorithms (for SSH)

Variants

template-ssh

Methods

impl TemplateAlg
[src]

Convert an unsigned byte tag into a TemplateAlgorithm (if valid)

Serialize algorithm ID as a byte

Trait Implementations

impl Copy for TemplateAlg
[src]

impl Clone for TemplateAlg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TemplateAlg
[src]

Formats the value using the given formatter. Read more

impl Eq for TemplateAlg
[src]

impl PartialEq for TemplateAlg
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<TemplateAlg> for Algorithm
[src]

Performs the conversion.

impl Serialize for TemplateAlg
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for TemplateAlg
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for TemplateAlg

impl Sync for TemplateAlg