pub trait IntoFmtWriteResult {
    // Required method
    fn into_fmt_write_result(self) -> Result;
}
Expand description

A helper trait used by FmtTryWriter to convert wrapped function result to fmt::Result with error propagation.

Required Methods§

source

fn into_fmt_write_result(self) -> Result

Performs the conversion with error propagation.

Implementations on Foreign Types§

source§

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

source§

impl IntoFmtWriteResult for ()

Implementors§