pub struct Base64Display<'a> { /* private fields */ }
Expand description
A convenience wrapper for base64’ing bytes into a format string without heap allocation.
Implementations§
Source§impl<'a> Base64Display<'a>
impl<'a> Base64Display<'a>
Sourcepub fn with_config(bytes: &[u8], config: Config) -> Base64Display<'_>
pub fn with_config(bytes: &[u8], config: Config) -> Base64Display<'_>
Create a Base64Display
with the provided config.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Base64Display<'a>
impl<'a> RefUnwindSafe for Base64Display<'a>
impl<'a> Send for Base64Display<'a>
impl<'a> Sync for Base64Display<'a>
impl<'a> Unpin for Base64Display<'a>
impl<'a> UnwindSafe for Base64Display<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more