Trait custom_print::IntoIoFlushResult
source · pub trait IntoIoFlushResult {
// Required method
fn into_io_flush_result(self) -> Result<()>;
}
Expand description
A helper trait used by IoTryWriter
flush method
to convert wrapped function result to io::Result
with error propagation.
Required Methods§
sourcefn into_io_flush_result(self) -> Result<()>
fn into_io_flush_result(self) -> Result<()>
Performs the conversion with error propagation.