Trait cryptid::util::AsBase64[][src]

pub trait AsBase64 where
    Self: Sized
{ type Error; fn as_base64(&self) -> String;
fn try_from_base64(encoded: &str) -> Result<Self, Self::Error>; }

Associated Types

type Error[src]

Loading content...

Required methods

fn as_base64(&self) -> String[src]

fn try_from_base64(encoded: &str) -> Result<Self, Self::Error>[src]

Loading content...

Implementors

impl AsBase64 for PublicKey[src]

type Error = CryptoError

fn as_base64(&self) -> String[src]

fn try_from_base64(encoded: &str) -> Result<Self, Self::Error>[src]

impl AsBase64 for Scalar[src]

type Error = CryptoError

fn as_base64(&self) -> String[src]

fn try_from_base64(encoded: &str) -> Result<Self, Self::Error>[src]

impl AsBase64 for PubkeyProof[src]

type Error = CryptoError

fn as_base64(&self) -> String[src]

fn try_from_base64(encoded: &str) -> Result<Self, Self::Error>[src]

Loading content...