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