var searchIndex = {}; searchIndex["ssh"] = {"doc":"Bindings to libssh. Unrelated to libssh2 (which also has rust bindings, see the "ssh2" crate),","items":[[3,"Session","ssh","",null,null],[3,"Channel","","",null,null],[3,"ChannelReader","","",null,null],[3,"Scp","","File transfer over SSH.",null,null],[3,"Mode","","",null,null],[4,"Error","","",null,null],[13,"Ssh","","",0,null],[13,"IO","","",0,null],[4,"ServerKnown","","",null,null],[13,"NotKnown","","The key is unknown",1,null],[13,"Known","","The key is known",1,null],[13,"Changed","","The key has changed since the last connection. You have to warn the user about a possible attack.",1,null],[13,"FoundOther","","The type of the key has changed. Possible attack.",1,null],[13,"FileNotFound","","The known hosts file doesn't exist, and will be created when `write_knownhost` is called.",1,null],[4,"Request","","",null,null],[13,"NEWDIR","","A new directory is going to be pulled",2,null],[13,"NEWFILE","","A new file is going to be pulled",2,null],[13,"EOF","","End of requests",2,null],[13,"ENDDIR","","End of directory",2,null],[13,"WARNING","","Warning received",2,null],[17,"WRITE","","",null,null],[17,"READ","","",null,null],[17,"RECURSIVE","","",null,null],[11,"fmt","","",3,null],[11,"fmt","","",0,null],[11,"fmt","","",0,null],[11,"description","","",0,null],[11,"cause","","",0,null],[11,"from","","",0,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"new","","",3,{"inputs":[],"output":{"name":"result"}}],[11,"set_host","","",3,null],[11,"set_port","","",3,null],[11,"set_username","","",3,null],[11,"set_ssh_dir","","Set the location of the ".ssh" directory, where the config file and keys can be found (it may include "%s", which will be replaced by the user home directory).",3,null],[11,"set_knownhosts","","Set the location of the "knownhosts" file (it may include "%s", which will be replaced by the user home directory).",3,null],[11,"set_identity","","Set the location of the key to be used for authentication (it may include "%s", which will be replaced by the user home directory).",3,null],[11,"set_ssh1","","Allow version 1 of the protocol (default unspecified).",3,null],[11,"set_ssh2","","Allow version 1 of the protocol (default unspecified).",3,null],[11,"parse_config","","Parse configuration file. If the path is `None`, then `~/.ssh/config` is read.",3,null],[11,"is_server_known","","Check whether the remote server's key is known.",3,null],[11,"write_knownhost","","Accept the remote server's key.",3,null],[11,"connect","","",3,null],[11,"disconnect","","Disconnect the session. The session can be reused later to open a new session.",3,null],[11,"userauth_password","","Authenticate with a password.",3,null],[11,"userauth_kbdint","","Print a prompt on the standard output, and then ask the user a password on the standard input. The typed password is not echoed.",3,null],[11,"userauth_publickey_auto","","Print a prompt on the standard output, and then ask the user a password on the standard input. The typed password is not echoed.",3,null],[11,"scp_new","","Start an SCP connection.",3,null],[11,"channel_new","","Start a channel to issue remote commands.",3,null],[11,"drop","","",3,null],[11,"fmt","","",1,null],[11,"is_known","","",1,null],[11,"open_session","","",4,null],[11,"request_exec","","",4,null],[11,"send_eof","","",4,null],[11,"get_exit_status","","",4,null],[11,"stdout","","",4,null],[11,"stderr","","",4,null],[11,"close","","",4,null],[11,"drop","","",4,null],[11,"read","","",5,null],[11,"hash","","",6,null],[11,"cmp","","",6,null],[11,"partial_cmp","","",6,null],[11,"lt","","",6,null],[11,"le","","",6,null],[11,"gt","","",6,null],[11,"ge","","",6,null],[11,"clone","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"fmt","","",6,null],[11,"empty","","Returns an empty set of flags.",6,{"inputs":[],"output":{"name":"mode"}}],[11,"all","","Returns the set containing all flags.",6,{"inputs":[],"output":{"name":"mode"}}],[11,"bits","","Returns the raw value of the flags currently stored.",6,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",6,{"inputs":[{"name":"c_int"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",6,{"inputs":[{"name":"c_int"}],"output":{"name":"mode"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",6,null],[11,"is_all","","Returns `true` if all flags are currently set.",6,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",6,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",6,null],[11,"insert","","Inserts the specified flags in-place.",6,null],[11,"remove","","Removes the specified flags in-place.",6,null],[11,"toggle","","Toggles the specified flags in-place.",6,null],[11,"bitor","","Returns the union of the two sets of flags.",6,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",6,null],[11,"bitand","","Returns the intersection between the two sets of flags.",6,null],[11,"sub","","Returns the set difference of the two sets of flags.",6,null],[11,"not","","Returns the complement of this set of flags.",6,null],[11,"from_iter","","",6,{"inputs":[{"name":"t"}],"output":{"name":"mode"}}],[11,"fmt","","",2,null],[11,"drop","","",7,null],[11,"init","","",7,null],[11,"close","","",7,null],[11,"pull_request","","",7,null],[11,"push_file","","",7,null],[11,"push_directory","","",7,null],[11,"request_get_size","","",7,null],[11,"request_get_permissions","","",7,null],[11,"request_get_filename","","",7,null],[11,"request_get_warning","","",7,null],[11,"accept_request","","",7,null],[11,"deny_request","","",7,null],[11,"leave_directory","","",7,null],[11,"reader","","Initialize the Scp structure to use as a Reader. Not doing so will cause `read` to fail.",7,null],[11,"read","","",7,null],[11,"write","","",7,null],[11,"flush","","",7,null]],"paths":[[4,"Error"],[4,"ServerKnown"],[4,"Request"],[3,"Session"],[3,"Channel"],[3,"ChannelReader"],[3,"Mode"],[3,"Scp"]]}; initSearch(searchIndex);