pub trait AsEventCodes {
// Required method
fn as_event_codes(&self) -> Vec<u32>;
}Expand description
AsEventCodes is any type that can be converted into a Vec<u32> for the purposes of reporting
to cobalt.
Required Methods§
Sourcefn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a Vec<u32> of event codes.