1
0
Fork
You've already forked Typha
0
Typha (/ˈtaɪfə/) - A Tri-state Result/Option type
  • Rust 100%
2026年06月02日 12:16:31 -07:00
src typha: Added filter and filter_err 2026年06月02日 12:16:31 -07:00
.gitattributes Initial project stubs 2026年06月02日 10:01:57 -07:00
.gitignore Initial project stubs 2026年06月02日 10:01:57 -07:00
Cargo.lock Initial project stubs 2026年06月02日 10:01:57 -07:00
Cargo.toml Initial project stubs 2026年06月02日 10:01:57 -07:00
CHANGELOG.md Initial project stubs 2026年06月02日 10:01:57 -07:00
CODE_OF_CONDUCT.md Initial project stubs 2026年06月02日 10:01:57 -07:00
LICENSE Initial project stubs 2026年06月02日 10:01:57 -07:00
LICENSE.docs Initial project stubs 2026年06月02日 10:01:57 -07:00
README.md Initial project stubs 2026年06月02日 10:01:57 -07:00
rust-toolchain.toml Initial project stubs 2026年06月02日 10:01:57 -07:00
rustfmt.toml Initial project stubs 2026年06月02日 10:01:57 -07:00

Typha

Typha (/ˈtaɪfə/) is a tri-state result type that is a fusion of the built-in Rust Result and Option types.

A common pattern in APIs that can fail, but also return no results is to have a Result<Option<T>, E>. The Typha<T, E> type offers equivalent functionality, but without the need to de-nest the types for some operations.

License

Typha is licensed under the BSD-3-Clause, the full text of which can be found in the LICENSE file in the root of the git repository.

The Vermilion documentation is licensed under the CC-BY-SA 4.0, the full text of which can be found in the LICENSE.docs file in the root of the git repository.