EncodeDecodeBase64

Trait EncodeDecodeBase64 

Source
pub trait EncodeDecodeBase64: Sized {
    // Required methods
    fn encode_base64(&self) -> String;
    fn decode_base64(value: &str) -> FastCryptoResult<Self>;
}
Expand description

Cryptographic material with an immediate conversion to/from Base64 strings.

This is an extension trait of ToFromBytes above.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§