`Text` and `Binary` should be self-explaining, they just match on the primitive and throw an error otherwise. OneOf is cool, because it allows the user to match on the result type of decoding `inner`, and give a list of values that should be allowed as the result type (the associated type `A` in the `Decoder` trait). Change-Id: Ia252e25194610555c17c37640a96953142f0a165 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2498 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> |
||
|---|---|---|
| .. | ||
| arglib | ||
| emacs-tree-sitter-move | ||
| execline | ||
| netencode | ||
| netstring | ||
| nixpkgs-rewriter | ||
| writers | ||
| lib.nix | ||
| OWNERS | ||
| read-http.nix | ||
| read-http.rs | ||
| rust-crates.nix | ||
| tree-sitter.nix | ||