Skip to main content

CompactorStreamEvent

Trait CompactorStreamEvent 

Source
pub trait CompactorStreamEvent:
    Send
    + Sync
    + 'static {
    type EventType: Send + Sync + 'static;

    // Required methods
    fn take_event(self) -> Self::EventType;
    fn create_at(&self) -> u64;
}

Required Associated Types§

Source

type EventType: Send + Sync + 'static

Required Methods§

Source

fn take_event(self) -> Self::EventType

Source

fn create_at(&self) -> u64

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl CompactorStreamEvent for SubscribeCompactionEventRequest

Source§

impl CompactorStreamEvent for SubscribeIcebergCompactionEventRequest

Implementors§