pub fn is_incorrect_mount_target_state(&self) -> bool {
        matches!(
            &self.kind,
            DescribeMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState(_)
        )
    }
/// Returns `true` if the error kind is `DescribeMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState`.
Returns `true` if the error kind is `DescribeMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState`.
Returns ` true ` if the error kind is ` DescribeMountTargetSecurityGroupsErrorKind :: IncorrectMountTargetState ` .
pub fn is_incorrect_mount_target_state(&self) -> bool {
        matches!(
            &self.kind,
            DescribeMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState(_)
        )
    }
pub fn is_incorrect_mount_target_state ( & self ) -> bool { matches ! ( self kind DescribeMountTargetSecurityGroupsErrorKind IncorrectMountTargetState ( ) ) }
Returns `true` if the error kind is `DescribeMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState`.
Returns ` true ` if the error kind is ` DescribeMountTargetSecurityGroupsErrorKind :: IncorrectMountTargetState ` .
&self
&self