You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, every single platform has the timeval struct being two signed integers, while core::time::Duration uses two unsigned integers, so on no platform would the conversion be straighforward (afaik).
Activity
[-]impl Into<core::time::Duration> for timeval[/-][+]impl From<timeval> for core::time::Duration[/+]highjeans commentedon Mar 18, 2025
Currently, every single platform has the
timeval
struct being two signed integers, whilecore::time::Duration
uses two unsigned integers, so on no platform would the conversion be straighforward (afaik).