pub trait StreamReceiverAdapterAbstract: Sync + Send {
// Required methods
fn send(
&self,
buf: Bytes,
kind: StreamKind,
flags: i32,
timestamp: u64,
) -> bool;
fn close(&self);
fn lose(&self);
}