# `Kettlecorn.Pid`
[🔗](https://github.com/mjrusso/kettlecorn/blob/v0.1.0/host/lib/kettlecorn/guest_terms.ex#L1)

A process inside a guest VM.

Received in messages from the guest. It can only be used as the target of
`Kettlecorn.send/4` on the VM it came from (calls and casts go to
registered names); sending it to another VM returns `{:error, :wrong_vm}`.
It never becomes a host pid. Standalone `Kettlecorn.ETF.decode/2` calls
produce unbound handles unless given the `:vm` option.

# `t`

```elixir
@type t() :: %Kettlecorn.Pid{etf: binary(), vm: pid() | nil}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
