Struct libptp::Camera[][src]

pub struct Camera<T: UsbContext> { /* fields omitted */ }

Implementations

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.