Skip to main content

Base64Encodable

Trait Base64Encodable 

Source
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§

Source

fn encode_base64(&self) -> EncodingResult<String>

Encode to base64 string.

Source

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§

Source§

impl Base64Encodable for SpliceInfoSection

Available on crate feature base64 only.