var searchIndex = {}; searchIndex["shared_mutex"] = {"doc":"# shared-mutex","items":[[3,"SharedMutex","shared_mutex","A lock providing both shared read locks and exclusive write locks.",null,null],[3,"RawSharedMutex","","A raw lock providing both shared read locks and exclusive write locks.",null,null],[3,"SharedMutexReadGuard","","A shared read guard on a SharedMutex.",null,null],[3,"SharedMutexWriteGuard","","An exclusive write guard on a SharedMutex.",null,null],[3,"MappedSharedMutexReadGuard","","A read guard to a sub-borrow of an original SharedMutexReadGuard.",null,null],[3,"MappedSharedMutexWriteGuard","","A write guard to a sub-borrow of an original `SharedMutexWriteGuard`.",null,null],[11,"new","","Create a new RawSharedMutex",0,{"inputs":[],"output":{"name":"rawsharedmutex"}}],[11,"read","","Acquire a shared read lock.",0,null],[11,"write","","Acquire an exclusive write lock.",0,null],[11,"unlock_read","","Unlock a previously acquired read lock.",0,null],[11,"unlock_write","","Unlock a previously acquired write lock.",0,null],[11,"wait_from_read_to_write","","Wait on the given condition variable, resuming with a write lock.",0,null],[11,"wait_from_read_to_read","","Wait on the given condition variable, resuming with another read lock.",0,null],[11,"wait_from_write_to_read","","Wait on the given condition variable, resuming with a read lock.",0,null],[11,"wait_from_write_to_write","","Wait on the given condition variable, resuming with another write lock.",0,null],[11,"new","","Create a new SharedMutex protecting the given value.",1,{"inputs":[{"name":"t"}],"output":{"name":"self"}}],[11,"into_inner","","Extract the data from the lock and destroy the lock.",1,null],[11,"write","","Acquire an exclusive Write lock on the data.",1,null],[11,"read","","Acquire a shared Read lock on the data.",1,null],[11,"get_mut","","Get a mutable reference to the data without locking.",1,null],[11,"deref","","",2,null],[11,"deref","","",3,null],[11,"deref_mut","","",3,null],[11,"into_mapped","","Turn this guard into a guard which can be mapped to a sub-borrow.",2,null],[11,"wait_for_write","","Wait on the given condition variable, and resume with a write lock.",2,null],[11,"wait_for_read","","Wait on the given condition variable, and resume with another read lock.",2,null],[11,"into_mapped","","Turn this guard into a guard which can be mapped to a sub-borrow.",3,null],[11,"wait_for_write","","Wait on the given condition variable, and resume with another write lock.",3,null],[11,"wait_for_read","","Wait on the given condition variable, and resume with a read lock.",3,null],[11,"drop","","",2,null],[11,"drop","","",3,null],[11,"map","","Transform this guard into a sub-borrow of the original data.",4,null],[11,"option_map","","Conditionally transform this guard into a sub-borrow of the original data.",4,null],[11,"result_map","","Conditionally transform this guard into a sub-borrow of the original data.",4,null],[11,"map","","Transform this guard into a sub-borrow of the original data.",5,null],[11,"option_map","","Conditionally transform this guard into a sub-borrow of the original data.",5,null],[11,"result_map","","Conditionally transform this guard into a sub-borrow of the original data.",5,null],[11,"deref","","",4,null],[11,"deref","","",5,null],[11,"deref_mut","","",5,null],[11,"drop","","",4,null],[11,"drop","","",5,null]],"paths":[[3,"RawSharedMutex"],[3,"SharedMutex"],[3,"SharedMutexReadGuard"],[3,"SharedMutexWriteGuard"],[3,"MappedSharedMutexReadGuard"],[3,"MappedSharedMutexWriteGuard"]]}; initSearch(searchIndex);