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