suppaftp::list::File now derives the hash trait. For that also PosixPex and FileType now derives the hash trait.
That is useful for creating a Hashmap out of the response of FtpStream::list call so that the responses can be easily compared / subtracted from each other.
Type of change
Please select relevant options.
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist
[X] My code follows the contribution guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new warnings
[X] I formatted the code with cargo fmt
[X] I linted my code using cargo clippy and reports no warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] I have introduced no C-bindings
[X] I increased or maintained the code coverage for the project, compared to the previous commit
Description
suppaftp::list::File
now derives the hash trait. For that alsoPosixPex
andFileType
now derives the hash trait. That is useful for creating a Hashmap out of the response ofFtpStream::list
call so that the responses can be easily compared / subtracted from each other.Type of change
Please select relevant options.
Checklist
cargo fmt
cargo clippy
and reports no warnings