Trait custom_print::ExpectFmtWriteResult
source · pub trait ExpectFmtWriteResult {
// Required method
fn expect_fmt_write_result(self) -> Result;
}
Expand description
A helper trait used by FmtWriter
to convert wrapped function result to fmt::Result
with error unwrapping.
Required Methods§
sourcefn expect_fmt_write_result(self) -> Result
fn expect_fmt_write_result(self) -> Result
Performs the conversion with error unwrapping.