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§

source

fn into_io_flush_result(self) -> Result<()>

Performs the conversion with error propagation.

Implementations on Foreign Types§

source§

impl IntoIoFlushResult for Result<()>

source§

impl IntoIoFlushResult for ()

Implementors§