pub trait BodyVisitor {
type Output;
// Required method
fn visit<B: Body>(self, body: &B) -> Self::Output;
}Expand description
Something done with a command body of a type known only at run time
(Command::visit).
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".