Scanner type for Rust