-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Rust Drivers
-
None
-
None
-
None
-
None
-
None
-
None
This is a very specialized impl that converts a 12-byte array into an ObjectId. Concretely, this prevents implementing From<u8> because that would cause the impl to collide with the generic array From<[T; N]> impl; I'd also argue that converting a raw array into an oid specifically is somewhat surprising behavior.
Unfortunately, this would be breaking behavior, so it has to wait for 4.0.