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