Trait citadel_sdk::prelude::AlgorithmsExt

pub trait AlgorithmsExt:
    IntoEnumIterator
    + for<'a> TryFrom<&'a str>
    + Debug
    + PrimitiveEnum<Primitive = u8> {
    // Required method
    fn set_crypto_param(&self, params: &mut CryptoParameters);

    // Provided methods
    fn list() -> Vec<Self> { ... }
    fn try_from_str<R>(t: R) -> Result<Self, ParseError>
       where R: AsRef<str> { ... }
    fn names() -> Vec<String> { ... }
    fn from_u8(input: u8) -> Option<Self> { ... }
    fn as_u8(&self) -> u8 { ... }
}

Required Methods§

fn set_crypto_param(&self, params: &mut CryptoParameters)

Provided Methods§

fn list() -> Vec<Self>

fn try_from_str<R>(t: R) -> Result<Self, ParseError>
where R: AsRef<str>,

fn names() -> Vec<String>

fn from_u8(input: u8) -> Option<Self>

fn as_u8(&self) -> u8

Object Safety§

This trait is not object safe.

Implementors§