Converts a type to its archived form.
Objects perform any supportive serialization during
types that reference nonlocal (pointed-to) data, this is when that data must be serialized to
the output. These types will need to bound
S to implement
any other required traits (e.g.
should then serialize their dependencies during
Archive for examples of implementing
Writes the dependencies for the object and returns a resolver that can create the archived type.