See https://github.com/rust-lang/rust/pull/41064 The `get`/`get_mut` methods are called `as_ref`/`as_mut` now.