Port/rewrite of Acess2 in Rust