var searchIndex = {}; searchIndex["linebased"] = {"doc":"Drop-in TCP command server","items":[[3,"Config","linebased","Server configuration",null,null],[3,"Handle","","Handle for the server",null,null],[3,"Server","","The linebased TCP server",null,null],[4,"Error","","Error from linebased crate",null,null],[13,"Io","","Encountered I/O error",0,null],[13,"AddrParse","","Error parsing listen address",0,null],[11,"fmt","","",0,null],[11,"cause","","",0,null],[11,"description","","",0,null],[11,"fmt","","",0,null],[11,"from","","",0,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",0,{"inputs":[{"name":"addrparseerror"}],"output":{"name":"error"}}],[6,"Result","","Results from linebased crate",null,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"prompt","","prompt is displayed to client whenever they may submit a command",1,null],[11,"host","","Set host address to listen on",1,null],[11,"welcome_message","","Set welcome message which client receives upon connection",1,null],[11,"port","","Set port to listen on",1,null],[11,"max_clients","","set maximum number of clients",1,null],[11,"client_buf_size","","Set the per-client buffer size",1,null],[11,"default","","",1,{"inputs":[],"output":{"name":"config"}}],[11,"shutdown","","Request the server to shutdown gracefully",2,null],[11,"new","","Create a new server",3,{"inputs":[{"name":"config"},{"name":"f"}],"output":{"name":"result"}}],[11,"handle","","Get a handle for the server so graceful shutdown can be requested",3,null],[11,"run","","Run the event loop",3,null]],"paths":[[4,"Error"],[3,"Config"],[3,"Handle"],[3,"Server"]]}; initSearch(searchIndex);