Trait vector::sources::util::framestream::FrameHandler
source · pub trait FrameHandler {
// Required methods
fn content_type(&self) -> String;
fn max_frame_length(&self) -> usize;
fn handle_event(
&self,
received_from: Option<Bytes>,
frame: Bytes,
) -> Option<Event>;
fn multithreaded(&self) -> bool;
fn max_frame_handling_tasks(&self) -> u32;
fn host_key(&self) -> &Option<OwnedValuePath>;
fn timestamp_key(&self) -> Option<&OwnedValuePath>;
fn source_type_key(&self) -> Option<&OwnedValuePath>;
}