Skip to main content

Crate mz_lowertest

Crate mz_lowertest 

Source
Expand description

Utilities for testing lower layers of the Materialize stack.

See [README.md].

Structs§

ReflectedTypeInfo
Info that must be combined with a spec to form deserializable JSON.

Traits§

MzReflect
For to_json to create deserializable JSON for an instance of an type, the type must derive this trait.
TestDeserializeContext
A trait for extending and/or overriding the default test case syntax.

Functions§

deserialize
Deserialize the next TokenTree into a D object.
deserialize_generic
Simpler interface for deserialize when no syntax overrides or extensions are needed.
deserialize_optional
If the stream_iter is not empty, deserialize the next TokenTree into a D.
deserialize_optional_generic
Simpler interface for deserialize_optional when no syntax overrides or extensions are needed.
from_json
Converts serialized JSON to the syntax that to_json handles.
serialize
serialize_generic
Simpler interface for serialize when no syntax overrides or extensions are needed.
to_json
Converts the next part of the stream into JSON deserializable into an object of type type_name.
tokenize
Converts s into a proc_macro2::TokenStream
unquote
Changes "\"foo\"" to "foo"

Derive Macros§

MzReflect
Macro generating an implementation for the trait MzReflect