draw

Function draw 

Source
fn draw(diagnostics: Vec<Diagnostic>) -> Option<String>
Expand description

Draws the status line with diagnostic information.

ยงRationale

Returning None lets callers distinguish between a valid (possibly empty diagnostics) statusline and a data acquisition failure.