Trait rustc-serialize::base64::ToBase64 [-]  [+] [src]

pub trait ToBase64 {
    fn to_base64(&self, config: Config) -> String;
}

A trait for converting a value to base64 encoding.

Required Methods

fn to_base64(&self, config: Config) -> String

Converts the value of self to a base64 value following the specified format configuration, returning the owned string.

Implementors