Lines Matching refs:usize
28 pub type Attributes = HashMap<usize, usize>;
82 async fn write(&self, pkt: &rtp::packet::Packet, attributes: &Attributes) -> Result<usize>; in write() argument
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() argument
107 async fn read(&self, buf: &mut [u8], attributes: &Attributes) -> Result<(usize, Attributes)>; in read() argument
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() argument
136 ) -> Result<usize>; in write() argument
143 ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + Sync>>)
157 ) -> Result<usize> { in write() argument
166 async fn read(&self, buf: &mut [u8], attributes: &Attributes) -> Result<(usize, Attributes)>; in read() argument
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() argument