Module copy_
to_
bytes
tokio_
util
0.7.15
Module copy_
to_
bytes
Module Items
Structs
In tokio_
util::
io
Modules
copy_to_bytes
inspect
read_buf
reader_stream
sink_writer
stream_reader
Structs
CopyToBytes
InspectReader
InspectWriter
ReaderStream
SinkWriter
StreamReader
Functions
poll_read_buf
poll_write_buf
read_buf
tokio_util
::
io
Module
copy_to_bytes
Copy item path
Settings
Help
Summary
Source
Structs
§
Copy
ToBytes
A helper that wraps a
Sink
<
Bytes
>
and converts it into a
Sink
<&'a [u8]>
by copying each byte slice into an owned
Bytes
.