Trait 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§

Source

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

Performs the conversion with error propagation.

Implementations on Foreign Types§

Source§

impl IntoIoFlushResult for ()

Source§

impl IntoIoFlushResult for Result<()>

Implementors§