hylarana_transport

Trait StreamReceiverAdapterAbstract

Source
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);
}

Required Methods§

Source

fn send(&self, buf: Bytes, kind: StreamKind, flags: i32, timestamp: u64) -> bool

Source

fn close(&self)

Source

fn lose(&self)

Implementors§