/// Error types for the `zerotrie` crate. #[derive(Debug, Copy, Clone, PartialEq, Eq, Display)] #[non_exhaustive] pubenum ZeroTrieBuildError { /// Non-ASCII data was added to an ASCII-only trie. #[displaydoc("Non-ASCII cannot be added to an ASCII-only trie")]
NonAsciiError, /// The trie reached its maximum supported capacity. #[displaydoc("Reached maximum capacity of trie")]
CapacityExceeded, /// The builder could not solve the perfect hash function. #[displaydoc("Failed to solve the perfect hash function. This is rare! Please report your case to the ICU4X team.")]
CouldNotSolvePerfectHash, /// Mixed-case data was added to a case-insensitive trie. #[displaydoc("Mixed-case data added to case-insensitive trie")]
MixedCase,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.