veeso / suppaftp

a super FTP/FTPS client library for Rust with support for both passive and active mode
Apache License 2.0
121 stars 31 forks source link

Derive hash trait for `File` and dependencies #27

Closed senden9 closed 1 year ago

senden9 commented 1 year ago

Description

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.

Checklist