cobalt_client::traits

Trait AsEventCodes

Source
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§

Source

fn as_event_codes(&self) -> Vec<u32>

Converts the source type into a Vec<u32> of event codes.

Implementations on Foreign Types§

Source§

impl AsEventCodes for ()

Source§

impl<A: AsEventCode> AsEventCodes for [A; 0]

Source§

impl<A: AsEventCode> AsEventCodes for [A; 1]

Source§

impl<A: AsEventCode> AsEventCodes for [A; 2]

Source§

impl<A: AsEventCode> AsEventCodes for [A; 3]

Source§

impl<A: AsEventCode> AsEventCodes for [A; 4]

Source§

impl<A: AsEventCode> AsEventCodes for [A; 5]

Source§

impl<A: AsEventCode> AsEventCodes for [A; 6]

Source§

impl<A: AsEventCode> AsEventCodes for [A]

Source§

impl<A: AsEventCode> AsEventCodes for (A,)

Source§

impl<A: AsEventCode> AsEventCodes for Vec<A>

Source§

impl<A: AsEventCode, B: AsEventCode> AsEventCodes for (A, B)

Source§

impl<A: AsEventCode, B: AsEventCode, C: AsEventCode> AsEventCodes for (A, B, C)

Source§

impl<A: AsEventCode, B: AsEventCode, C: AsEventCode, D: AsEventCode> AsEventCodes for (A, B, C, D)

Source§

impl<A: AsEventCode, B: AsEventCode, C: AsEventCode, D: AsEventCode, E: AsEventCode> AsEventCodes for (A, B, C, D, E)

Source§

impl<A: AsEventCode, B: AsEventCode, C: AsEventCode, D: AsEventCode, E: AsEventCode, F: AsEventCode> AsEventCodes for (A, B, C, D, E, F)

Implementors§