Expand description
Indeterminate spinner for unknown-length operations.
IndeterminateSpinner shows activity feedback when the total count or duration
is not known. Useful for connection establishment, complex queries, etc.
§Example
use sqlmodel_console::renderables::{IndeterminateSpinner, SpinnerStyle};
let spinner = IndeterminateSpinner::new("Connecting to database")
.style(SpinnerStyle::Dots);
// Plain text: "[...] Connecting to database (2.3s)"
println!("{}", spinner.render_plain());Structs§
- Indeterminate
Spinner - A spinner for operations with unknown total count or duration.
Enums§
- Spinner
Style - Spinner animation style.