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