ollie

Results 63 comments of ollie

My view is that the conversion from u16 to `Ouid` in the above example should be infallible, as we're modelling an Ouid which is explicitly marked as non-exhaustive. As it...

Looking at this more, I don't think there is any way, short of compiling to a seperate crate that gives the framework required to do this safely. I'm not that...

> `from_bytes` would need to match all unnamed variant-ranges to something It could transmute. In this case, where the memory representation is known, and all variants are explicitly given, then...

I'm happy to submit a RP if this is considered desirable ^

I can't think of an implementation not requiring unsafe. Stdlib functions i.e. [from_ne_byes](https://doc.rust-lang.org/std/primitive.u64.html#method.from_ne_bytes) copy.

@alexforencich Another feature for your consideration. I think its generally applicable and useful, hence the upstream PR.

> I think this is a really good idea, and I think it should probably be extended by supporting interleaving on the source side as well. The thought occurred to...

@alexforencich Sorry for the huge delay here. Have updated to generalise over `AxisStreamSource`, `AxisStreamMonitor` and `AxisStreamSink`

@alexforencich Your thoughts here would be appreciated, especially on the validity checking and API implications