devela::all

Type Alias FmtResult

Source
pub type FmtResult<T> = Result<T, FmtError>;
Expand description

⚖️ The type returned by formatter methods.

Note that this is not the same as core::fmt::Result, since this one doesn’t hardcode the returned type to ().

Aliased Type§

enum FmtResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value