kvarn_utils::prelude::ioStruct Empty
1.0.0 · source #[non_exhaustive]
pub struct Empty;
Expand description
Empty
ignores any data written via Write
, and will always be empty
(returning zero bytes) when read via Read
.
This struct is generally created by calling empty()
. Please
see the documentation of empty()
for more details.
Returns the contents of the internal buffer, filling it with more data
from the inner reader if it is empty.
Read more