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