pub type CustomReader = Arc<dyn for<'a, 'dep> Fn(&'a Bump, &'a UserDefinedType, &'a [UserDefinedType], &'dep HashMap<u64, Value<'a>>, &'a [u8]) -> Result<Value<'a>>>;Expand description
A reader for a custom (dynamically-sized) transit type.
Two higher-ranked lifetimes keep the returned Value<'a> (which borrows the
arena and source buffer) independent of the &'dep borrow of the dependency
map, so the caller can insert the result back into the map afterwards.
Aliased Typeยง
pub struct CustomReader { /* private fields */ }