fidl_fuchsia_audio

Trait StreamSinkProxyInterface

Source
pub trait StreamSinkProxyInterface: Send + Sync {
    // Required methods
    fn put_packet(
        &self,
        payload: StreamSinkPutPacketRequest,
    ) -> Result<(), Error>;
    fn start_segment(
        &self,
        payload: &StreamSinkStartSegmentRequest,
    ) -> Result<(), Error>;
    fn end(&self) -> Result<(), Error>;
    fn will_close(
        &self,
        payload: &StreamSinkWillCloseRequest,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn put_packet(&self, payload: StreamSinkPutPacketRequest) -> Result<(), Error>

Source

fn start_segment( &self, payload: &StreamSinkStartSegmentRequest, ) -> Result<(), Error>

Source

fn end(&self) -> Result<(), Error>

Source

fn will_close(&self, payload: &StreamSinkWillCloseRequest) -> Result<(), Error>

Implementors§