Trait vector::sources::util::framestream::TcpFrameHandler

source ·
pub trait TcpFrameHandler: FrameHandler {
    // Required methods
    fn address(&self) -> SocketListenAddr;
    fn keepalive(&self) -> Option<TcpKeepaliveConfig>;
    fn shutdown_timeout_secs(&self) -> Duration;
    fn tls(&self) -> MaybeTlsSettings;
    fn tls_client_metadata_key(&self) -> Option<OwnedValuePath>;
    fn receive_buffer_bytes(&self) -> Option<usize>;
    fn max_connection_duration_secs(&self) -> Option<u64>;
    fn max_connections(&self) -> Option<u32>;
    fn allowed_origins(&self) -> Option<&[IpNet]>;
    fn insert_tls_client_metadata(
        &mut self,
        metadata: Option<CertificateMetadata>,
    );
}

Required Methods§

Implementors§