AppendBase64Encode

Trait AppendBase64Encode 

Source
pub trait AppendBase64Encode: FromBase64Encode {
    // Required method
    fn append_base64_encode(base64: &Base64, src: &[u8], dst: &mut Self);
}
Expand description

Types that can append a base64 string.

Required Methods§

Source

fn append_base64_encode(base64: &Base64, src: &[u8], dst: &mut Self)

Encodes bytes to a base64 string and appends into the self type.

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.

Implementations on Foreign Types§

Source§

impl AppendBase64Encode for String

Available on crate feature alloc only.
Source§

fn append_base64_encode(base64: &Base64, src: &[u8], dst: &mut Self)

Source§

impl AppendBase64Encode for Vec<u8>

Available on crate feature alloc only.
Source§

fn append_base64_encode(base64: &Base64, src: &[u8], dst: &mut Self)

Implementors§