Struct ptp::PtpCamera [] [src]

pub struct PtpCamera<'a> { /* fields omitted */ }

Methods

impl<'a> PtpCamera<'a>
[src]

execute a PTP transaction. consists of the following phases: - command - command data (optional, if data is Some) - response data (optional, if response contains a payload) - response status NB: each phase involves a separate USB transfer, and timeout is used for each phase, so the total time taken may be greater than timeout.