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