Crate noir_protobuf

Source

Traits§

  • A protobuf codec to convert between a domain type T and its protobuf representation R.

Functions§

  • Decode a oneof field, returning an error if it’s missing. Useful when a lambda needs to be applied before we can use one of the type class methods.
  • Decode an optional item, returning an error if it’s None. Useful when a lambda needs to be applied before we can use one of the type class methods.
  • Decode an optional item, attaching a field name to any errors. Useful when a lambda needs to be applied before we can use one of the type class methods.
  • Decode repeated items by mapping a function over them, attaching an error message if it fails. Useful when a lambda needs to be applied before we can use one of the type class methods.