Trait uapi::UapiReadExt
source · pub trait UapiReadExt {
// Required methods
fn read_to_ustring(&mut self, s: &mut Ustring) -> Result<usize>;
fn read_to_new_ustring(&mut self) -> Result<Ustring>;
}
Expand description
Read
extensions
Required Methods§
sourcefn read_to_ustring(&mut self, s: &mut Ustring) -> Result<usize>
fn read_to_ustring(&mut self, s: &mut Ustring) -> Result<usize>
Like Read::read_to_end()
but for Ustring
sourcefn read_to_new_ustring(&mut self) -> Result<Ustring>
fn read_to_new_ustring(&mut self) -> Result<Ustring>
Shortcut for read_to_ustring
with a new Ustring