pub fn is_major_version(&self) -> bool {
        match self {
            VersionCheckResult::Valid { is_major_version } => *is_major_version,
            VersionCheckResult::Invalid => false,
        }
    }
/// Checks if given version is a major protocol version upgrade.
Checks if given version is a major protocol version upgrade.
Checks if given version is a major protocol version upgrade .
pub fn is_major_version(&self) -> bool {
        match self {
            VersionCheckResult::Valid { is_major_version } => *is_major_version,
            VersionCheckResult::Invalid => false,
        }
    }
pub fn is_major_version ( & self ) -> bool { match self { VersionCheckResult :: Valid { is_major_version } => * is_major_version , VersionCheckResult :: Invalid => false , } }
Checks if given version is a major protocol version upgrade.
Checks if given version is a major protocol version upgrade .
&self
&self