Skip to main content

write_all

Function write_all 

Source
pub async fn write_all<S: AsyncWrite + Unpin>(
    stream: &mut S,
    bytes: &[u8],
) -> Result<()>
Expand description

Write all bytes and confirm transport delivery before releasing their owner.