Function citadel_sdk::prelude::write_one_packet

pub async fn write_one_packet<S, R>(io: S, packet: R) -> Result<S, NetworkError>
where S: AsyncWrite + Unpin, R: Into<Bytes>,