Function tcp_handler::encrypt::send

source ·
pub async fn send<W: AsyncWriteExt + Unpin + Send>(
    stream: &mut W,
    message: &Bytes,
    cipher: AesCipher
) -> Result<AesCipher, PacketError>