| 19 | #[cfg(any(feature = "tokio_async", feature = "futures_async"))] |
| 20 | #[async_trait::async_trait(?Send)] |
| 21 | pub trait VarIntAsyncWriter { |
| 22 | /// Write a VarInt integer to an asynchronous writer. |
| 23 | async fn write_varint_async<VI: VarInt>(&mut self, n: VI) -> Result<usize>; |
| 24 | } |
| 25 | |
| 26 | #[cfg(any(feature = "tokio_async", feature = "futures_async"))] |
| 27 | #[async_trait::async_trait(?Send)] |
nothing calls this directly
no outgoing calls
no test coverage detected