{"id":69471,"library":"mutex-trait","title":"Mutex-trait","description":"Foundational mutex trait and helpers for embedded systems.","status":"active","version":"0.2.0","language":"rust","source_language":null,"source_url":"https://github.com/rust-embedded/mutex-trait","tags":["mutex","embedded","synchronization","trait"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nmutex-trait = \"0.2.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add mutex-trait","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Mutex","correct":"use mutex_trait::Mutex;"}],"quickstart":{"code":"use mutex_trait::Mutex;\n\nfn main() {\n    let mutex = Mutex::new(42);\n    let value = mutex.lock(|v| *v);\n    println!(\"Value: {}\", value);\n}","lang":"rust","description":"Locks a mutex and accesses the inner value."},"warnings":[],"env_vars":null,"search_vec":"'embed':10,13 'foundat':4 'helper':8 'mutex':2,5,12 'mutex-trait':1 'synchron':14 'system':11 'trait':3,6,15","created_at":"2026-06-17T18:02:15.460429+00:00","updated_at":"2026-06-17T18:02:15.460429+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rust-embedded/mutex-trait","github":"https://github.com/rust-embedded/mutex-trait","docs":"https://docs.rs/mutex-trait/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}