Fields
| Field | Rust Type | Python Type | Default | Description |
|---|---|---|---|---|
buffer_capacity | usize | int | 65536 (64 KiB) | Read buffer size in bytes |
state_dir | PathBuf | Path | platform cache dir | Directory for state files |
auto_save_state | bool | bool | false | Enable periodic autosave |
auto_save_state_bytes | NonZeroU64 | int | 104857600 (100 MiB) | Bytes between autosaves |
auto_load_state | bool | bool | false | Auto-resume auto-named states |
verify_state | bool | bool | true | Verify file metadata on resume |
A
buffer_capacityof0is treated as1. Anauto_save_state_bytesof0raises an error because the value must be nonzero