Struct Base64Display
struct Base64Display<'a, 'e, E: Engine> { ... }
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.
impl<'a, 'e, E> Freeze for Base64Display<'a, 'e, E>
impl<'a, 'e, E> RefUnwindSafe for Base64Display<'a, 'e, E>
impl<'a, 'e, E> Send for Base64Display<'a, 'e, E>
impl<'a, 'e, E> Sync for Base64Display<'a, 'e, E>
impl<'a, 'e, E> Unpin for Base64Display<'a, 'e, E>
impl<'a, 'e, E> UnwindSafe for Base64Display<'a, 'e, E>
impl<'a, 'e, E: Engine> Display for Base64Display<'a, 'e, E>
fn fmt(self: &Self, formatter: &mut Formatter<'_>) -> Result<(), fmt::Error>
impl<T> Any for Base64Display<'a, 'e, E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Base64Display<'a, 'e, E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Base64Display<'a, 'e, E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Base64Display<'a, 'e, E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for Base64Display<'a, 'e, E>
fn to_string(self: &Self) -> String
impl<T, U> Into for Base64Display<'a, 'e, E>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Base64Display<'a, 'e, E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Base64Display<'a, 'e, E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>