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