Zeeshan Ali Khan

Results 438 comments of Zeeshan Ali Khan
trafficstars

In GitLab by @mominul on Jan 24, 2021, 17:03 Oops, I thought that would be caught by the `unreachable_pub` lint, Sorry! :sweat:

> Oops, I thought that would be caught by the `unreachable_pub` lint, Sorry! Probably you're right but you can always `#[allow(..)]` them.

In GitLab by @seiwill on Feb 14, 2023, 18:02 Workaround for Dict structs that need to derive Value for use in property getters is to not derive Value, and implement...

In GitLab by @codido on Nov 18, 2020, 21:53 @zeenix This might be a bit more complicated than just setting the socket timeouts. A timed out operation could result in...

> @zeenix This might be a bit more complicated than just setting the socket timeouts. A timed out operation could result in EAGAIN/EWOULDBLOCK which might break some assumptions in the...

In GitLab by @codido on Nov 18, 2020, 22:45 This is certainly a valid approach, but one thing to keep in mind is that the current API lets users set...

> but one thing to keep in mind is that the current API lets users set or get the socket directly. So figuring out if a socket is blocking or...

> > but one thing to keep in mind is that the current API lets users set or get the socket directly. So figuring out if a socket is blocking...

In GitLab by @codido on Nov 19, 2020, 01:27 That's the documented behaviour it seems, as documented for SO_RCVTIMEO and SO_SNDTIMEO: https://linux.die.net/man/7/socket

In GitLab by @Be on Mar 31, 2022, 03:55 This came up in dark-light: https://github.com/frewsxcv/rust-dark-light/issues/17