Module hedwig::validators
source · Expand description
Implementations of validators.
Validators are responsible for ensuring the message payload is valid according some description
and then constructing instances of ValidatedMessage
that contain the encoded data in some
on-wire format.
Re-exports
pub use self::prost::ProstDecodeError;
pub use self::prost::ProstDecoder;
pub use self::prost::ProstValidator;
pub use self::prost::ProstValidatorError;
Modules
- Validation and decoding for messages encoded with protobuf using
prost
Structs
- Validator that validates JSON payloads according to a provided JSON Schema.
Enums
- Errors that may occur when validating messages using a JSON schema.