pub trait ExpectIoFlushResult {
// Required method
fn expect_io_flush_result(self) -> Result<()>;
}Expand description
A helper trait used by IoWriter flush method
to convert wrapped function result to io::Result with error unwrapping.
Required Methods§
Sourcefn expect_io_flush_result(self) -> Result<()>
fn expect_io_flush_result(self) -> Result<()>
Performs the conversion with error unwrapping.