Re: [PATCH v10 2/5] rust: io: separate generic I/O helpers from MMIO implementation

From: Danilo Krummrich

Date: Tue Jan 20 2026 - 11:09:20 EST


On Tue Jan 20, 2026 at 4:59 PM CET, Gary Guo wrote:
> I think whether there's a runtime bound checking and whether a IO size is
> supported are two orthogonal things, I would rather we have a single series of
> `IoCapable<T>` to just indiate the latter and still keep the `IoKnownSize`.

I like this idea, it seems like a very reasonable compromise to me.