Trait custom_print::IntoIoWriteResult[][src]

pub trait IntoIoWriteResult {
    fn into_io_write_result(self, buf: &[u8]) -> Result<usize>;
}
Expand description

A helper trait used by IoTryWriter write method to convert wrapped function result to io::Result with error propagation.

Required methods

Performs the conversion with error propagation.

Implementations on Foreign Types

Implementors