pub fn into_name_digest(self) -> (OsString, Option<DigestData>) {
        if self.did_unhandled_seek || !self.ever_read || self.read_only {
            (self.name, None)
        } else {
            (self.name, Some(DigestData::from(self.digest)))
        }
    }
/// Consumes the object and returns the SHA256 sum of the content that was
/// read. No digest is returned if there was ever a seek on the input
/// stream, since in that case the results will not be reliable. We also
/// return None if the stream was never read, which is another common
/// TeX access pattern: files are opened, immediately closed, and then
/// opened again. Finally, no digest is returned if the file is marked read-only.
Consumes the object and returns the SHA256 sum of the content that was
read. No digest is returned if there was ever a seek on the input
stream, since in that case the results will not be reliable. We also
return None if the stream was never read, which is another common
TeX access pattern: files are opened, immediately closed, and then
opened again. Finally, no digest is returned if the file is marked read-only.
Consumes the object and returns the SHA256 sum of the content that was read . No digest is returned if there was ever a seek on the input stream since in that case the results will not be reliable . We also return None if the stream was never read which is another common TeX access pattern : files are opened immediately closed and then opened again . Finally no digest is returned if the file is marked read - only .
pub fn into_name_digest(self) -> (OsString, Option<DigestData>) {
        if self.did_unhandled_seek || !self.ever_read || self.read_only {
            (self.name, None)
        } else {
            (self.name, Some(DigestData::from(self.digest)))
        }
    }
pub fn into_name_digest ( self ) -> ( OsString , Option < DigestData > ) { if self . did_unhandled_seek || ! self . ever_read || self . read_only { ( self . name , None ) } else { ( self . name , Some ( DigestData :: from ( self . digest ) ) ) } }
Consumes the object and returns the SHA256 sum of the content that was
read.
Consumes the object and returns the SHA256 sum of the content that was read .
self