# Trait command::BodyVisitor

> Something done with a command body of a type known only at run time (`Command::visit`).

`zaun_community_protocol::command::BodyVisitor` · Trait

```rust
pub trait BodyVisitor { … }
```

Something done with a command body of a type known only at run time
(`Command::visit`).

## Methods

### `visit`

```rust
fn visit<B>(self, body: &B) -> <Self as >::Output;
```

Called with the typed body.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/trait.BodyVisitor.html)
