Trait spacetimedb_sats::de::MapAccess
source · pub trait MapAccess<'de> {
type Key;
type Value;
type Error: Error;
// Required method
fn next_entry(
&mut self
) -> Result<Option<(Self::Key, Self::Value)>, Self::Error>;
// Provided method
fn size_hint(&self) -> Option<usize> { ... }
}
Expand description
Provides a MapVisitor
with access to each element of the array in the input.
This is a trait that a Deserializer
passes to a MapVisitor
implementation.