Re: [RFC PATCH v2 10/11] rust: usb: keep usb::Device private and gate transfers on Interface<Bound>

From: Alan Stern

Date: Mon Jul 06 2026 - 11:47:32 EST


On Mon, Jul 06, 2026 at 12:38:40PM +0200, Danilo Krummrich wrote:
> AFAIK, it is not necessarily valid to assume that if an interface is bound to an
> interface driver, the parent USB device is also bound to a USB device driver
> (which is what usb::Device<Bound> represents).

If we're talking about the same thing, then yes -- this is a valid
assumption. If a USB device isn't bound to a driver then it can't be
configured, and a device in the unconfigured state doesn't have any
interfaces.

Alan Stern