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
{{ message }}
Repository navigation
Document of loop_{read,write}_vectored does not match the actual behavior #556
/// The default implementation will try to write from the buffers in order
/// as if they're concatenated. It will stop whenever the writer returns
/// an error, `Ok(0)`, or a length less than the length of the buf passed
/// in, meaning it's possible that not all contents are written. If
/// guaranteed full write is desired, it is recommended to use
/// [`AsyncWriteExt::write_vectored_all`] instead.
But the actual default behavior will only attempt at most once, instead of "stop whenever".
Activity