How to attach files to an email using lettre and lettre_email

What is a way that I can send an email using the lettre crate, with a .png or .pdf attached?

Check the corresponding EmailBuilder functions.