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 Base64Display with the provided engine.

Trait Implementations

impl<'a, 'e, E: Engine> Display for Base64Display<'a, 'e, E>

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Auto Trait Implementations

impl<'a, 'e, E> Freeze for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: Freeze,

impl<'a, 'e, E> RefUnwindSafe for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: RefUnwindSafe,

impl<'a, 'e, E> Send for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: Send,

impl<'a, 'e, E> Sync for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: Sync,

impl<'a, 'e, E> Unpin for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: Unpin,

impl<'a, 'e, E> UnsafeUnpin for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: UnsafeUnpin,

impl<'a, 'e, E> UnwindSafe for Base64Display<'a, 'e, E> where ChunkedEncoder<'e, E>: UnwindSafe,

Blanket Implementations

impl<T> Any for Base64Display<'a, 'e, E> where T: 'static + ?Sized,

impl<T> Borrow<T> for Base64Display<'a, 'e, E> where T: ?Sized,

impl<T> BorrowMut<T> for Base64Display<'a, 'e, E> where T: ?Sized,

impl<T> From<T> for Base64Display<'a, 'e, E>

impl<T> ToString for Base64Display<'a, 'e, E> where T: Display + ?Sized,

impl<T, U> Into<U> for Base64Display<'a, 'e, E> where U: From<T>,

impl<T, U> TryFrom<U> for Base64Display<'a, 'e, E> where U: Into<T>,

impl<T, U> TryInto<U> for Base64Display<'a, 'e, E> where U: TryFrom<T>,