pub trait Base64Encodable: Encodable {
// Provided methods
fn encode_base64(&self) -> EncodingResult<String> { ... }
fn encode_base64_with_crc(&self) -> EncodingResult<String>
where Self: CrcEncodable { ... }
}Expand description
Extension trait for base64 encoding support.
Provided Methods§
Sourcefn encode_base64(&self) -> EncodingResult<String>
fn encode_base64(&self) -> EncodingResult<String>
Encode to base64 string.
Sourcefn encode_base64_with_crc(&self) -> EncodingResult<String>where
Self: CrcEncodable,
fn encode_base64_with_crc(&self) -> EncodingResult<String>where
Self: CrcEncodable,
Encode with CRC and then to base64.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Base64Encodable for SpliceInfoSection
Available on crate feature
base64 only.