fidl_fuchsia_mediaTrait SimpleStreamSinkProxyInterface
Source pub trait SimpleStreamSinkProxyInterface: Send + Sync {
type SendPacketResponseFut: Future<Output = Result<(), Error>> + Send;
type DiscardAllPacketsResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn add_payload_buffer(
&self,
id: u32,
payload_buffer: Vmo,
) -> Result<(), Error>;
fn remove_payload_buffer(&self, id: u32) -> Result<(), Error>;
fn send_packet(&self, packet: &StreamPacket) -> Self::SendPacketResponseFut;
fn send_packet_no_reply(&self, packet: &StreamPacket) -> Result<(), Error>;
fn end_of_stream(&self) -> Result<(), Error>;
fn discard_all_packets(&self) -> Self::DiscardAllPacketsResponseFut;
fn discard_all_packets_no_reply(&self) -> Result<(), Error>;
}