Skip to main content

write_query

Function write_query 

Source
pub fn write_query<W: Write + ?Sized>(output: &mut W) -> Result<()>
Expand description

Writes an optional feature query without reading input or imposing a timeout. This function does not flush the writer.

Route replies through the TUI’s existing input reader and parser::Decoder. A bare query and a default reply have identical bytes; use stream direction and a pending-query flag to distinguish them.

§Errors

Returns the writer’s I/O error.