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§
sourcefn from_base64_encode(base64: &Base64, data: &[u8]) -> Self
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.