Lines Matching refs:Result
5 use error::Result;
32 fn build(&self, id: &str) -> Result<Arc<dyn Interceptor + Send + Sync>>; in build()
75 async fn close(&self) -> Result<()>; in close() argument
82 async fn write(&self, pkt: &rtp::packet::Packet, attributes: &Attributes) -> Result<usize>; in write()
89 ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + Sync>>)
98 async fn write(&self, pkt: &rtp::packet::Packet, attributes: &Attributes) -> Result<usize> { in write()
107 async fn read(&self, buf: &mut [u8], attributes: &Attributes) -> Result<(usize, Attributes)>; in read()
114 ) -> Pin<Box<dyn Future<Output = Result<(usize, Attributes)>> + Send + Sync>>)
123 async fn read(&self, buf: &mut [u8], attributes: &Attributes) -> Result<(usize, Attributes)> { in read()
136 ) -> Result<usize>; in write()
143 ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + Sync>>)
157 ) -> Result<usize> { in write()
166 async fn read(&self, buf: &mut [u8], attributes: &Attributes) -> Result<(usize, Attributes)>; in read()
173 ) -> Pin<Box<dyn Future<Output = Result<(usize, Attributes)>> + Send + Sync>>)
183 async fn read(&self, buf: &mut [u8], attributes: &Attributes) -> Result<(usize, Attributes)> { in read()