Skip to main content

message_too_large_error

Function message_too_large_error 

pub fn message_too_large_error() -> Error
Available on crate feature std and crate feature udp and (crate features test-utils) only.
Expand description

The native “message too large” send error, as the socket layer reports it after EMSGSIZE, for injecting oversized-send failures into tests.

Classified as crate::SendFailure::TooLarge on platforms with a native code.