Trait odoo_lsp::utils::Report

source ·
pub trait Report {
    // Required method
    fn report<S: Display>(self, context: impl FnOnce() -> S);
}

Required Methods§

source

fn report<S: Display>(self, context: impl FnOnce() -> S)

Implementations on Foreign Types§

source§

impl<T> Report for Result<T>

source§

fn report<S: Display>(self, context: impl FnOnce() -> S)

Consumes self and reports the results of a computation.

Implementors§