Function is_datagram_too_large
pub fn is_datagram_too_large(error: &Error) -> boolAvailable on crate features
std and udp only.Expand description
Whether error reports a datagram too large for the call: on send, for the path or
socket; on a Windows receive, for the buffer, where Unix truncates instead.
The standard error kinds do not model this, so it matches the raw OS code.