Skip to main content

RawEvent

Trait RawEvent 

Source
pub trait RawEvent:
    Hash
    + Clone
    + Ord
    + Eq
    + Into<u32>
    + From<u32>
    + Debug
    + Serialize
    + for<'de> Deserialize<'de> {
    // Required methods
    fn default() -> Self;
    fn pipeline(&self) -> Pipeline;
    fn decode(&self) -> EventId;
    fn src_id(&self) -> u16;
    fn raw(&self) -> u32;
}

Required Methods§

Source

fn default() -> Self

Source

fn pipeline(&self) -> Pipeline

Source

fn decode(&self) -> EventId

Source

fn src_id(&self) -> u16

Source

fn raw(&self) -> u32

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl RawEvent for u32

Source§

fn default() -> Self

Source§

fn pipeline(&self) -> Pipeline

Source§

fn decode(&self) -> EventId

Source§

fn src_id(&self) -> u16

Source§

fn raw(&self) -> u32

Implementors§