Struct Base64Display
pub struct Base64Display<'a, 'e, E: Engine> { /* private fields */ }
A convenience wrapper for base64'ing bytes into a format string without heap allocation.
Implementations
impl<'a, 'e, E: Engine> Base64Display<'a, 'e, E>
fn new(bytes: &'a [u8], engine: &'e E) -> Base64Display<'a, 'e, E>Create a
Base64Displaywith the provided engine.
Trait Implementations
impl<'a, 'e, E: Engine> Display for Base64Display<'a, 'e, E>
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>