pub(crate) enum AsciiMode {
AsciiOnly,
BinarySpans,
}
Expand description
Whether to support non-ASCII data in the ZeroTrie.
Variants§
AsciiOnly
Support only ASCII, returning an error if non-ASCII is found.
BinarySpans
Support all data, creating span nodes for non-ASCII bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsciiMode
impl RefUnwindSafe for AsciiMode
impl Send for AsciiMode
impl Sync for AsciiMode
impl Unpin for AsciiMode
impl UnwindSafe for AsciiMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more