/// Freeze the HEADER, indicating a VMO is frozen.
Freeze the HEADER, indicating a VMO is frozen.
Freeze the HEADER indicating a VMO is frozen .
pub fn freeze_header(&self) -> Result<u64, Error> {
        self.check_type(BlockType::Header)?;
        let mut payload = self.read_payload();
        let value = payload.header_generation_count();
        payload.set_header_generation_count(constants::VMO_FROZEN);
        self.write_payload(payload);
        Ok(value)
    }
pub fn freeze_header ( & self ) -> Result < u64 , Error > { self . check_type ( BlockType :: Header ) ? ; let mut payload = self . read_payload ( ) ; let value = payload . header_generation_count ( ) ; payload . set_header_generation_count ( constants :: VMO_FROZEN ) ; self . write_payload ( payload ) ; Ok ( value ) }
Freeze the HEADER, indicating a VMO is frozen.
Freeze the HEADER indicating a VMO is frozen .
&self