[−][src]Trait libptp::Read
Required methods
fn expect_end(&mut self) -> Result<(), Error>
Provided methods
fn read_ptp_u8(&mut self) -> Result<u8, Error>
fn read_ptp_i8(&mut self) -> Result<i8, Error>
fn read_ptp_u16(&mut self) -> Result<u16, Error>
fn read_ptp_i16(&mut self) -> Result<i16, Error>
fn read_ptp_u32(&mut self) -> Result<u32, Error>
fn read_ptp_i32(&mut self) -> Result<i32, Error>
fn read_ptp_u64(&mut self) -> Result<u64, Error>
fn read_ptp_i64(&mut self) -> Result<i64, Error>
fn read_ptp_u128(&mut self) -> Result<u128, Error>
fn read_ptp_i128(&mut self) -> Result<i128, Error>
fn read_ptp_vec<T: Sized, U: Fn(&mut Self) -> Result<T, Error>>(
&mut self,
func: U
) -> Result<Vec<T>, Error>
&mut self,
func: U
) -> Result<Vec<T>, Error>