Trait StrConsumer
pub trait StrConsumer {
// Required method
fn consume(&mut self, buf: &str);
}Expand description
An abstraction around consuming strs produced by base64 encoding.
Required Methods§
Implementations on Foreign Types§
§impl<S> StrConsumer for &mut Swhere
S: StrConsumer + ?Sized,
As for io::Write, StrConsumer is implemented automatically for &mut S.
impl<S> StrConsumer for &mut Swhere
S: StrConsumer + ?Sized,
As for io::Write, StrConsumer is implemented automatically for &mut S.
Implementors§
impl StrConsumer for String
Pushes the str onto the end of the String