Project

General

Profile

Actions

Optimization #3832

closed

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

Added by Shivani Bhardwaj over 4 years ago. Updated almost 3 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 #1

Updated by Shivani Bhardwaj about 4 years ago

  • Status changed from Assigned to In Review
Actions #2

Updated by Victor Julien about 4 years ago

  • Target version set to 7.0.0-beta1
Actions #3

Updated by Victor Julien almost 3 years ago

  • Subject changed from Make core::* as enum to improve readability to rust: Make core::* as enum to improve readability
  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF