The std::fs::File
provides a metadata
method. It can be used with your my_file
like this:
my_file.metadata().unwrap().len();
The std::fs::File
provides a metadata
method. It can be used with your my_file
like this:
my_file.metadata().unwrap().len();