(&self)
| 44 | |
| 45 | impl Trace { |
| 46 | pub fn to_str(&self) -> &str { |
| 47 | match self { |
| 48 | Trace::None => "none", |
| 49 | Trace::CallOnly => "call-only", |
| 50 | Trace::Full => "full", |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | #[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize)] |
no outgoing calls