base64_simd

Trait FromBase64Encode

source
pub trait FromBase64Encode: Sized {
    // Required method
    fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self;
}
Expand description

Types that can represent a base64 string.

Required Methods§

source

fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self

Encodes bytes to a base64 string and returns the self type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromBase64Encode for Box<str>

source§

fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self

source§

impl FromBase64Encode for Box<[u8]>

source§

fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self

source§

impl FromBase64Encode for String

source§

fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self

source§

impl FromBase64Encode for Vec<u8>

source§

fn from_base64_encode(base64: &Base64, data: &[u8]) -> Self

Implementors§