add rust_trylock_little_lock

I need try_lock for an algorithm I'm trying to implement in Rust.