(s: &str)
| 74 | |
| 75 | impl ActionType { |
| 76 | fn from_str(s: &str) -> Self { |
| 77 | match s { |
| 78 | "write" => Self::Write, |
| 79 | "destructive" => Self::Destructive, |
| 80 | _ => Self::Read, |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /// A single action a binary protocol supports. |
nothing calls this directly
no outgoing calls
no test coverage detected