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