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§

source

fn expect_fmt_write_result(self) -> Result

Performs the conversion with error unwrapping.

Implementations on Foreign Types§

source§

impl<E: Debug> ExpectFmtWriteResult for Result<(), E>

source§

impl ExpectFmtWriteResult for ()

Implementors§