var searchIndex = {}; searchIndex["file_lock"] = {"doc":"File locking via POSIX advisory record locks.","items":[[3,"Lock","file_lock","Represents a lock on a file.",null,null],[4,"Error","","Represents the error that occured while trying to lock or unlock a file.",null,null],[13,"InvalidFilename","","caused when the filename is invalid as it contains a nul byte.",0,null],[13,"Errno","","caused when the error occurred at the filesystem layer (see\n[errno](https://crates.io/crates/errno)).",0,null],[5,"lock","","Locks the specified file.",null,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[5,"lock_wait","","Locks the specified file.",null,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[5,"unlock","","Unlocks the file held by `Lock`.",null,{"inputs":[{"name":"lock"}],"output":{"name":"result"}}],[11,"drop","","",1,null]],"paths":[[4,"Error"],[3,"Lock"]]}; initSearch(searchIndex);