#[repr(u32)]
pub enum Coderange {
Unknown,
SevenBit,
Valid,
Broken,
}
Expand description
Possible states of how a string matches its encoding.
Variants
Unknown
It is unknown if the string is valid for its encoding.
SevenBit
The string is entirely within the 0 to 127 ASCII range.
Valid
The string is valid for its encoding.
Broken
The string holds values that are invalid for its encoding.
Trait Implementations
impl Copy for Coderange
impl Eq for Coderange
impl StructuralEq for Coderange
impl StructuralPartialEq for Coderange
Auto Trait Implementations
impl RefUnwindSafe for Coderange
impl Send for Coderange
impl Sync for Coderange
impl Unpin for Coderange
impl UnwindSafe for Coderange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more