pub enum CharsError {
NotUtf8,
Other(Error),
}
Expand description
An enumeration of possible errors that can be generated from the Chars
adapter.
Variants§
NotUtf8
Variant representing that the underlying stream was read successfully but it did not contain valid utf8 data.
Other(Error)
Variant representing that an I/O error occurred.
Trait Implementations§
Source§impl Debug for CharsError
impl Debug for CharsError
Auto Trait Implementations§
impl Freeze for CharsError
impl RefUnwindSafe for CharsError
impl Send for CharsError
impl Sync for CharsError
impl Unpin for CharsError
impl UnwindSafe for CharsError
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