Trait basic_text::ReadText [−][src]
Add a convenience method for reading into TextStr
.
Required methods
fn read_text(&mut self, buf: &mut TextStr) -> Result<usize>
[src]
Like read
but produces the result in a TextStr
. Be sure to check
the size
field of the return value to see how many bytes were
written.
Provided methods
fn read_exact_text(&mut self, buf: &mut TextStr) -> Result<()>
[src]
Like read_exact
but produces the result in a TextStr
.