fn from_file(file: &mut File) -> Result<Self, Error> {
        let mut bytes = Vec::new();
        file.read_to_end(&mut bytes)?;
        Self::from_tz_data(&bytes)
    }
/// Construct a time zone from the contents of a time zone file
Construct a time zone from the contents of a time zone file
Construct a time zone from the contents of a time zone file
fn from_file(file: &mut File) -> Result<Self, Error> {
        let mut bytes = Vec::new();
        file.read_to_end(&mut bytes)?;
        Self::from_tz_data(&bytes)
    }
fn from_file ( file : & mut File ) -> Result < Self , Error > { let mut bytes = Vec :: new ( ) ; file . read_to_end ( & mut bytes ) ? ; Self :: from_tz_data ( & bytes ) }
Construct a time zone from the contents of a time zone file
Construct a time zone from the contents of a time zone file
file
&mut File
file
&mut File