var searchIndex = {}; searchIndex["ftp"] = {"doc":"ftp is an FTP client written in Rust.","items":[[3,"FtpStream","ftp","Stream to interface with the FTP server. This interface is only for the command stream.",null,null],[11,"fmt","","",0,null],[11,"connect","","Creates an FTP Stream.",0,{"inputs":[{"name":"a"}],"output":{"name":"result"}}],[11,"login","","Log in to the FTP server.",0,null],[11,"cwd","","Change the current directory to the path specified.",0,null],[11,"cdup","","Move the current directory to the parent directory.",0,null],[11,"pwd","","Gets the current directory",0,null],[11,"noop","","This does nothing. This is usually just used to keep the connection open.",0,null],[11,"mkdir","","This creates a new directory on the server.",0,null],[11,"transfer_type","","Sets the type of file to be transferred. That is the implementation\nof `TYPE` command.",0,null],[11,"quit","","Quits the current FTP session.",0,null],[11,"get","","Retrieves the file name specified from the server.\nThis method is a more complicated way to retrieve a file.\nThe reader returned should be dropped.\nAlso you will have to read the response to make sure it has the correct value.",0,null],[11,"rename","","Renames the file from_name to to_name",0,null],[11,"retr","","The implementation of `RETR` command where `filename` is the name of the file\nto download from FTP and `reader` is the function which operates with the\ndata stream opened.",0,null],[11,"simple_retr","","Simple way to retr a file from the server. This stores the file in memory.",0,null],[11,"rmdir","","Removes the remote pathname from the server.",0,null],[11,"rm","","Remove the remote file from the server.",0,null],[11,"put","","This stores a file on the server.",0,null],[11,"list","","Execute `LIST` command which returns the detailed file listing in human readable format.\nIf `pathname` is omited then the list of files in the current directory will be\nreturned otherwise it will the list of files on `pathname`.",0,null],[11,"nlst","","Execute `NLST` command which returns the list of file names only.\nIf `pathname` is omited then the list of files in the current directory will be\nreturned otherwise it will the list of files on `pathname`.",0,null],[11,"mdtm","","Retrieves the modification time of the file at `pathname` if it exists.\nIn case the file does not exist `None` is returned.",0,null],[11,"size","","Retrieves the size of the file in bytes at `pathname` if it exists.\nIn case the file does not exist `None` is returned.",0,null],[11,"read_response","","",0,null],[11,"read_response_in","","Retrieve single line response",0,null],[0,"types","","The set of valid values for FTP commands",null,null],[3,"Line","ftp::types","`Line` contains a command code and the contents of a line of text read from the network.",null,null],[12,"0","","",1,null],[12,"1","","",1,null],[4,"FtpError","","`FtpError` is a library-global error type to describe the different kinds of\nerrors that might occur while using FTP.",null,null],[13,"ConnectionError","","",2,null],[13,"SecureError","","",2,null],[13,"InvalidResponse","","",2,null],[13,"InvalidAddress","","",2,null],[4,"FormatControl","","Text Format Control used in `TYPE` command",null,null],[13,"Default","","Default text format control (is NonPrint)",3,null],[13,"NonPrint","","Non-print (not destined for printing)",3,null],[13,"Telnet","","Telnet format control (\\<CR\\>, \\<FF\\>, etc.)",3,null],[13,"Asa","","ASA (Fortran) Carriage Control",3,null],[4,"FileType","","File Type used in `TYPE` command",null,null],[13,"Ascii","","ASCII text (the argument is the text format control)",4,null],[13,"Ebcdic","","EBCDIC text (the argument is the text format control)",4,null],[13,"Image","","Image,",4,null],[13,"Binary","","Binary (the synonym to Image)",4,null],[13,"Local","","Local format (the argument is the number of bits in one byte on local machine)",4,null],[6,"Result","","A shorthand for a Result whose error type is always an FtpError.",null,null],[11,"fmt","","",2,null],[11,"cmp","","",3,null],[11,"partial_cmp","","",3,null],[11,"eq","","",3,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"cmp","","",4,null],[11,"partial_cmp","","",4,null],[11,"lt","","",4,null],[11,"le","","",4,null],[11,"gt","","",4,null],[11,"ge","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",4,null],[11,"fmt","","",4,null],[11,"to_string","","",3,null],[11,"to_string","","",4,null],[11,"fmt","","",2,null],[11,"description","","",2,null],[11,"cause","","",2,null],[0,"status","ftp","",null,null],[17,"INITIATING","ftp::status","",null,null],[17,"RESTART_MARKER","","",null,null],[17,"READY_MINUTE","","",null,null],[17,"ALREADY_OPEN","","",null,null],[17,"ABOUT_TO_SEND","","",null,null],[17,"COMMAND_OK","","",null,null],[17,"COMMAND_NOT_IMPLEMENTED","","",null,null],[17,"SYSTEM","","",null,null],[17,"DIRECTORY","","",null,null],[17,"FILE","","",null,null],[17,"HELP","","",null,null],[17,"NAME","","",null,null],[17,"READY","","",null,null],[17,"CLOSING","","",null,null],[17,"DATA_CONNECTION_OPEN","","",null,null],[17,"CLOSING_DATA_CONNECTION","","",null,null],[17,"PASSIVE_MODE","","",null,null],[17,"LONG_PASSIVE_MODE","","",null,null],[17,"EXTENDED_PASSIVE_MODE","","",null,null],[17,"LOGGED_IN","","",null,null],[17,"LOGGED_OUT","","",null,null],[17,"LOGOUT_ACK","","",null,null],[17,"AUTH_OK","","",null,null],[17,"REQUESTED_FILE_ACTION_OK","","",null,null],[17,"PATH_CREATED","","",null,null],[17,"NEED_PASSWORD","","",null,null],[17,"LOGIN_NEED_ACCOUNT","","",null,null],[17,"REQUEST_FILE_PENDING","","",null,null],[17,"NOT_AVAILABLE","","",null,null],[17,"CANNOT_OPEN_DATA_CONNECTION","","",null,null],[17,"TRANSER_ABORTED","","",null,null],[17,"INVALID_CREDENTIALS","","",null,null],[17,"HOST_UNAVAILABLE","","",null,null],[17,"REQUEST_FILE_ACTION_IGNORED","","",null,null],[17,"ACTION_ABORTED","","",null,null],[17,"REQUESTED_ACTION_NOT_TAKEN","","",null,null],[17,"BAD_COMMAND","","",null,null],[17,"BAD_ARGUMENTS","","",null,null],[17,"NOT_IMPLEMENTED","","",null,null],[17,"BAD_SEQUENCE","","",null,null],[17,"NOT_IMPLEMENTED_PARAMETER","","",null,null],[17,"NOT_LOGGED_IN","","",null,null],[17,"STORING_NEED_ACCOUNT","","",null,null],[17,"FILE_UNAVAILABLE","","",null,null],[17,"PAGE_TYPE_UNKNOWN","","",null,null],[17,"EXCEEDED_STORAGE","","",null,null],[17,"BAD_FILENAME","","",null,null]],"paths":[[3,"FtpStream"],[3,"Line"],[4,"FtpError"],[4,"FormatControl"],[4,"FileType"]]}; initSearch(searchIndex);