Function layered_io::default_read_to_string
source · pub fn default_read_to_string<Inner: ReadLayered + ?Sized>(
inner: &mut Inner,
buf: &mut String
) -> Result<usize>
Expand description
Default implementation of Read::read_to_string
in terms of
Read::read_to_end
.