Trait custom_print::ExpectIoWriteResult[][src]

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

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

Required methods

Performs the conversion with error unwrapping.

Implementations on Foreign Types

Implementors