[−][src]Struct base64::display::Base64Display
A convenience wrapper for base64'ing bytes into a format string without heap allocation.
Methods
impl<'a> Base64Display<'a>[src]
pub fn with_config(
bytes: &[u8],
config: Config
) -> Result<Base64Display, DisplayError>[src]
bytes: &[u8],
config: Config
) -> Result<Base64Display, DisplayError>
Create a Base64Display with the provided config.
pub fn standard(bytes: &[u8]) -> Base64Display[src]
Convenience method for creating a Base64Display with the STANDARD configuration.
pub fn url_safe(bytes: &[u8]) -> Base64Display[src]
Convenience method for creating a Base64Display with the URL_SAFE configuration.
Trait Implementations
impl<'a> Display for Base64Display<'a>[src]
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,