#[derive(AsyncWrite)]
{
// Attributes available to this derive:
#[write]
}
Expand description
#[derive(AsyncWrite)]:
Derives tokio::io::AsyncWrite for the given struct.
Supported attributes:
#[write]: Marks the field as a write stream.#[write(as_ref)]: Delegates the field to the inner type usingAsRef/AsMut.#[write(deref)]: Delegates the field to the inner type usingDeref/DerefMut.#[write(<function>=<override>)]: Overrides the default<function>method with the given override function.