pub enum NfcError {
InvalidUtf8 {
at: usize,
},
OutputOverflow,
CombiningRunOverflow,
}Expand description
Streaming NFC normalizer error.
Variants§
InvalidUtf8
input is not well-formed UTF-8 per RFC 3629.
OutputOverflow
out is too small to hold the NFC-normalized form.
CombiningRunOverflow
A combining run in input exceeds the UAX #15 stream-safe
bound of 30 consecutive non-starters.
Trait Implementations§
impl Copy for NfcError
impl Eq for NfcError
impl StructuralPartialEq for NfcError
Auto Trait Implementations§
impl Freeze for NfcError
impl RefUnwindSafe for NfcError
impl Send for NfcError
impl Sync for NfcError
impl Unpin for NfcError
impl UnsafeUnpin for NfcError
impl UnwindSafe for NfcError
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