Skip to main content

StickyEventType

Trait StickyEventType 

Source
pub trait StickyEventType: ToOwned {
    const TYPE: EventType;

    // Required method
    unsafe fn from_event(event: Event) -> Self::Owned;
}

Required Associated Constants§

Required Methods§

Source

unsafe fn from_event(event: Event) -> Self::Owned

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl StickyEventType for Buffersize

Source§

const TYPE: EventType = EventType::Buffersize

Source§

impl StickyEventType for Caps

Source§

const TYPE: EventType = EventType::Caps

Source§

impl StickyEventType for CustomDownstreamSticky

Source§

const TYPE: EventType = EventType::CustomDownstreamSticky

Source§

impl StickyEventType for Eos

Source§

const TYPE: EventType = EventType::Eos

Source§

impl StickyEventType for InstantRateChange

Source§

const TYPE: EventType = EventType::InstantRateChange

Source§

impl StickyEventType for Protection

Source§

const TYPE: EventType = EventType::Protection

Source§

impl StickyEventType for Segment

Source§

const TYPE: EventType = EventType::Segment

Source§

impl StickyEventType for SinkMessage

Source§

const TYPE: EventType = EventType::SinkMessage

Source§

impl StickyEventType for StreamCollection

Source§

const TYPE: EventType = EventType::StreamCollection

Source§

impl StickyEventType for StreamGroupDone

Source§

const TYPE: EventType = EventType::StreamGroupDone

Source§

impl StickyEventType for StreamStart

Source§

const TYPE: EventType = EventType::StreamStart

Source§

impl StickyEventType for Tag

Source§

const TYPE: EventType = EventType::Tag

Source§

impl StickyEventType for Toc

Source§

const TYPE: EventType = EventType::Toc