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