pub trait FlushWriter: ResponseWriter {
// Required method
fn flush(&mut self) -> Result<()>;
}Expand description
A response writer that can hand buffered bytes to its transport immediately.
Progressive hydration requires this semantic flush at every committed
boundary. Hosts that cannot provide it must use WebUIHandler::render.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".