pub enum Char {
Eof,
NoData,
Char(char),
}
Expand description
Variants§
Eof
Eof indicates end of stream/file reached; once a reader returns Eof, it should continue to do so
NoData
NoData indicates that the stream/file did not supply data, but this is configured to not be EOF.
This can only be returned by the reader if crate::Reader::set_eof_on_no_data has been used
Char(char)
Char indicates a char of a valid Unicode codepoint decoded from the stream with UTF8
Trait Implementations§
impl Copy for Char
impl Eq for Char
impl StructuralPartialEq for Char
Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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