Enum uu_env::string_parser::Chunk
source · pub enum Chunk<'a> {
InvalidEncoding(&'a NativeIntStr),
ValidSingleIntChar((char, NativeCharInt)),
}
Expand description
Provides a valid char or a invalid sequence of bytes.
Invalid byte sequences can’t be splitted in any meaningful way. Thus, they need to be consumed as one piece.
Variants§
InvalidEncoding(&'a NativeIntStr)
ValidSingleIntChar((char, NativeCharInt))
Auto Trait Implementations§
impl<'a> Freeze for Chunk<'a>
impl<'a> RefUnwindSafe for Chunk<'a>
impl<'a> Send for Chunk<'a>
impl<'a> Sync for Chunk<'a>
impl<'a> Unpin for Chunk<'a>
impl<'a> UnwindSafe for Chunk<'a>
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