archivist_lib::logs::multiplex

Trait MultiplexerHandleAction

Source
pub trait MultiplexerHandleAction {
    // Required methods
    fn send_cursor_from(
        &self,
        mode: StreamMode,
        container: &Arc<LogsArtifactsContainer>,
    ) -> bool;
    fn close(&self);
    fn multiplexer_id(&self) -> usize;
}

Required Methods§

Source

fn send_cursor_from( &self, mode: StreamMode, container: &Arc<LogsArtifactsContainer>, ) -> bool

Source

fn close(&self)

Notify the multiplexer that no new sub-streams will be arriving.

Source

fn multiplexer_id(&self) -> usize

Implementors§