MCPcopy Create free account
hub / github.com/dermesser/integer-encoding-rs / VarIntAsyncWriter

Interface VarIntAsyncWriter

src/writer.rs:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#[cfg(any(feature = "tokio_async", feature = "futures_async"))]
20#[async_trait::async_trait(?Send)]
21pub 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)]

Callers

nothing calls this directly

Implementers 1

writer.rssrc/writer.rs

Calls

no outgoing calls

Tested by

no test coverage detected