Trait cobalt_client::traits::AsEventCode

source ·
pub trait AsEventCode {
    // Required method
    fn as_event_code(&self) -> u32;
}
Expand description

AsEventCode is any type that can be converted into a u32 for the purposes of reporting to cobalt.

Required Methods§

Implementations on Foreign Types§

source§

impl AsEventCode for i8

source§

impl AsEventCode for i16

source§

impl AsEventCode for i32

source§

impl AsEventCode for u8

source§

impl AsEventCode for u16

source§

impl AsEventCode for u32

Implementors§