Trait FromBase64String

Source
pub trait FromBase64String {
    // Required method
    fn from_base64_string(&self) -> Result<Vec<u8>, DecodeError>;
}
Expand description

Trait to add base64 decoding functionality to strings

Required Methods§

Source

fn from_base64_string(&self) -> Result<Vec<u8>, DecodeError>

Implementations on Foreign Types§

Source§

impl FromBase64String for str

Source§

fn from_base64_string(&self) -> Result<Vec<u8>, DecodeError>

Source§

impl FromBase64String for String

Source§

fn from_base64_string(&self) -> Result<Vec<u8>, DecodeError>

Implementors§