freta 0.22.0

Project Freta client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) Microsoft Corporation. All rights reserved.

use serde::{Deserialize, Serialize};

/// Symbol representation
#[cfg_attr(feature = "proptest", derive(proptest_derive::Arbitrary))]
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
#[derive(Debug, Serialize, Clone, Eq, PartialEq, Deserialize)]
pub enum Symbol {
    /// Kernel symbol name
    Kernel(String),

    /// Kernel module symbol name
    Module(String, String),
}