# Enum framing::Inbound

> What an inbound transport text is.

`zaun_community_protocol::framing::Inbound` · Enum

```rust
pub enum Inbound<'a> { … }
```

What an inbound transport text is.

## Variants

### `NotProtocol`

Does not start with `zaun:`: not a protocol message. Never parse it as a command; count
it against the command rate limit; on an unbound connection send one plain notice.

### `UnknownPrefix`

Starts with `zaun:` but the frame prefix is unknown (`zaun:2:` …): answer
`UNSUPPORTED_VERSION` when possible, otherwise ignore.

### `MalformedFragment`

`zaun:1f:` with a malformed header (bad id, leading zeros, `index ≥ count`, …).

### `Whole(&'a str)`

A whole envelope: its JSON text, to be parsed as an envelope.

### `Fragment(Fragment<'a>)`

A fragment, to be pushed into the connection's reassembler.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/framing/parse/enum.Inbound.html)
