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