Project

General

Profile

Actions

Optimization #3832

closed

rust: Make core::* as enum to improve readability

Added by Shivani Bhardwaj over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

core::STREAM_TOSERVER and core::STREAM_TOCLIENT could be an enum so we can avoid the use of _ in match statements and instead just always explicitly use both directions.

- Victor on https://github.com/OISF/suricata/pull/5100#commitcomment-40185751

Actions

Also available in: Atom PDF