Skip to content

Trait command::BodyVisitor

zaun_community_protocol::command::BodyVisitor · Trait

pub trait BodyVisitor { … }

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

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

Called with the typed body.

Full rustdoc page