Trait rustc_serialize::base64::FromBase64 [] [src]

pub trait FromBase64 {
    fn from_base64(&self) -> Result<Vec<u8>, FromBase64Error>;
}

A trait for converting from base64 encoded values.

Required Methods

fn from_base64(&self) -> Result<Vec<u8>, FromBase64Error>

Converts the value of self, interpreted as base64 encoded data, into an owned vector of bytes, returning the vector.

Implementors