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.
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.