pub fn profile_of(source: &Source) -> Result<Profile, Error>
The profile of a source’s primary document.
The source cannot be read, or its document is not UTF-8 text.