var searchIndex = {}; searchIndex["xdg_basedir"] = {"doc":"xdg-basedir is a utility library to make conforming to the\n[XDG basedir specification](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) easier.","items":[[0,"dirs","xdg_basedir","",null,null],[5,"get_data_home_from_env","xdg_basedir::dirs","Get the data home directory given a closure that returns the the value of an environment variable.\nThis method allows having a custom environment.",null,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[5,"get_data_home","","Get the data home directory.",null,{"inputs":[],"output":{"name":"result"}}],[5,"get_data_dirs_from_env","","Get the default data directories given a closure that returns the the value of an environment variable.\nThis method allows having a custom environment.",null,{"inputs":[{"name":"f"}],"output":{"name":"vec"}}],[5,"get_data_dirs","","Get the data directories.",null,{"inputs":[],"output":{"name":"vec"}}],[5,"get_config_home_from_env","","Get the config home directory given a closure that returns the the value of an environment variable.\nThis method allows having a custom environment.",null,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[5,"get_config_home","","Get the config home directory.",null,{"inputs":[],"output":{"name":"result"}}],[5,"get_config_dirs_from_env","","Get the default config directories given a closure that returns the the value of an environment variable.\nThis method allows having a custom environment.",null,{"inputs":[{"name":"f"}],"output":{"name":"vec"}}],[5,"get_config_dirs","","Get the config directories.",null,{"inputs":[],"output":{"name":"vec"}}],[5,"get_cache_home_from_env","","Get the cache home directory given a closure that returns the the value of an environment variable.\nThis method allows having a custom environment.",null,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[5,"get_cache_home","","Get the cache home directory.",null,{"inputs":[],"output":{"name":"result"}}],[5,"get_runtime_dir_from_env","","Get ```$XDG_RUNTIME_DIR``` if found in the environment.\nThis method allows having a custom environment.",null,{"inputs":[{"name":"f"}],"output":{"name":"option"}}],[5,"get_runtime_dir","","Get ```$XDG_RUNTIME_DIR``` if found in the environment.",null,{"inputs":[],"output":{"name":"option"}}],[0,"error","xdg_basedir","",null,null],[3,"Error","xdg_basedir::error","",null,null],[4,"ErrorKind","","",null,null],[13,"Xdg","","",0,null],[13,"Io","","",0,null],[4,"XdgError","","",null,null],[13,"NoHomeDir","","",1,null],[13,"InvalidPath","","",1,null],[13,"IncorrectPermissions","","",1,null],[13,"IncorrectOwner","","",1,null],[6,"Result","","",null,null],[11,"fmt","","",2,null],[11,"fmt","","",0,null],[11,"fmt","","",1,null],[11,"new","","",2,{"inputs":[{"name":"errorkind"}],"output":{"name":"error"}}],[11,"fmt","","",2,null],[11,"description","","",2,null],[11,"from","","",2,{"inputs":[{"name":"xdgerror"}],"output":{"name":"error"}}],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"xdgerror"}],"output":{"name":"result"}}]],"paths":[[4,"ErrorKind"],[4,"XdgError"],[3,"Error"],[6,"Result"]]}; initSearch(searchIndex);