How get a filesize?

Hi, How get a filesize?
I have Rust version 1.31.

Thanks

You can use std::fs::metadata and query the length.
Metadata-Filesize