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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".