pub trait IteratorVisitorMiddleware<T> {
type Output;
// Required method
fn transform<I>(iter: I) -> Self::Output
where I: IntoIterator<Item = T>;
}
Expand description
This trait is used to decide how IteratorVisitor
will deserialize a type.
Required Associated Types§
Required Methods§
Sourcefn transform<I>(iter: I) -> Self::Outputwhere
I: IntoIterator<Item = T>,
fn transform<I>(iter: I) -> Self::Outputwhere
I: IntoIterator<Item = T>,
Takes in the item iterator and results in the IteratorVisitorMiddleware::Output
type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.