construct_response

Function construct_response 

Source
pub fn construct_response(res: &str) -> FTPResponse
Expand description

A function for converting FTP response strings into FTPResponse. Construction functions aim to be as transparent as possible so apart from turning it into a structure, the request stays relatively unchanged.