Project

General

Profile

Actions

Optimization #3832

closed
SB SB

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

Optimization #3832: rust: Make core::* as enum to improve readability

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

SB Updated by Shivani Bhardwaj over 5 years ago Actions #1

  • Status changed from Assigned to In Review

VJ Updated by Victor Julien over 5 years ago Actions #2

  • Target version set to 7.0.0-beta1

VJ Updated by Victor Julien over 4 years ago Actions #3

  • 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: PDF Atom