# Protocol API — Rust 0.18.1
## Basic API
Enable `protocol` with defaults disabled. `scientific_workflow::protocol` exposes
RunId, Outcome, Status, Event, Request, Response and Command for socket wire v1.
## Advanced API
Bounded read_frame/write_frame implement four-byte big-endian JSON framing.
The protocol feature has no dependency on execution, storage or Python. The
normative contract is [socket.md](https://github.com/dingyisun0101/Scientific-Workflow/blob/main/protocol/socket.md).
## Example
```rust
let id = scientific_workflow::protocol::RunId::try_from("20261128T120000.000000000Z".to_owned()).unwrap();
assert_eq!(id.as_str(), "20261128T120000.000000000Z");
```
## Not API
Owning engine lifecycle, persistence, scientific algorithms, or choosing retention
semantics. Protocol types do not prove that a persisted running process is alive.