Struct fuchsia_triage::ActionResults
source · pub struct ActionResults { /* private fields */ }
Expand description
Stores the results of each Action specified in [source] and the [warnings] and [gauges] that are generated.
Implementations§
source§impl ActionResults
impl ActionResults
pub fn new() -> ActionResults
pub fn add_info(&mut self, info: String)
pub fn add_warning(&mut self, warning: String)
pub fn add_error(&mut self, error: String)
pub fn add_gauge(&mut self, gauge: String)
pub fn add_snapshot(&mut self, snapshot: SnapshotTrigger)
pub fn set_sort_gauges(&mut self, v: bool)
pub fn sort_gauges(&self) -> bool
pub fn get_infos(&self) -> &Vec<String> ⓘ
pub fn get_warnings(&self) -> &Vec<String> ⓘ
pub fn get_errors(&self) -> &Vec<String> ⓘ
pub fn get_gauges(&self) -> &Vec<String> ⓘ
pub fn get_sub_results_mut(&mut self) -> &mut Vec<(String, Box<ActionResults>)> ⓘ
pub fn get_sub_results(&self) -> &Vec<(String, Box<ActionResults>)> ⓘ
Trait Implementations§
source§impl Clone for ActionResults
impl Clone for ActionResults
source§fn clone(&self) -> ActionResults
fn clone(&self) -> ActionResults
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more