# Function envelope::command_limit

> The size limit of a command envelope of type `kind`: `MAX_COMMAND`, except `community.create` and `community.descriptor.publish`, which may use the whole `max_frame`.

`zaun_community_protocol::envelope::command_limit` · Function

```rust
pub fn command_limit(kind: &str) -> usize
```

The size limit of a command envelope of type `kind`: `MAX_COMMAND`, except
`community.create` and `community.descriptor.publish`, which may use the whole `max_frame`.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/envelope/inbound/fn.command_limit.html)
