pub trait ArrayVisitor<'de, T> {
type Output;
// Required method
fn visit<A>(
self,
vec: A,
) -> Result<Self::Output, <A as ArrayAccess<'de>>::Error>
where A: ArrayAccess<'de, Element = T>;
}Expand description
A visitor walking through a Deserializer for arrays.
Required Associated Types§
Required Methods§
Sourcefn visit<A>(
self,
vec: A,
) -> Result<Self::Output, <A as ArrayAccess<'de>>::Error>where
A: ArrayAccess<'de, Element = T>,
fn visit<A>(
self,
vec: A,
) -> Result<Self::Output, <A as ArrayAccess<'de>>::Error>where
A: ArrayAccess<'de, Element = T>,
The input contains an array.
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.