pub struct Sink { /* fields omitted */ }Expand description
A writer which will move data into the void.
This struct is generally created by calling sink. Please
see the documentation of sink() for more details.
Formats the value using the given formatter. Read more
Write a buffer into this writer, returning how many bytes were written. Read more
🔬 This is a nightly-only experimental API. (
can_vector #69941)
Flush this output stream, ensuring that all intermediately buffered
contents reach their destination. Read more
Attempts to write an entire buffer into this writer. Read more
🔬 This is a nightly-only experimental API. (
write_all_vectored #70436)
Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error
encountered. Read more
Creates a “by reference” adaptor for this instance of Write. Read more
Write a buffer into this writer, returning how many bytes were written. Read more
🔬 This is a nightly-only experimental API. (
can_vector #69941)
Flush this output stream, ensuring that all intermediately buffered
contents reach their destination. Read more
Attempts to write an entire buffer into this writer. Read more
🔬 This is a nightly-only experimental API. (
write_all_vectored #70436)
Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error
encountered. Read more
Creates a “by reference” adaptor for this instance of Write. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.