pub struct Utf8StreamDecoder { /* private fields */ }Expand description
Streaming UTF-8 decoder: feed byte chunks, get valid &str pushed into a
String. Truly invalid bytes are replaced with U+FFFD; an incomplete
trailing sequence is buffered until more bytes arrive (or Self::flush).
Implementations§
Trait Implementations§
Source§impl Debug for Utf8StreamDecoder
impl Debug for Utf8StreamDecoder
Source§impl Default for Utf8StreamDecoder
impl Default for Utf8StreamDecoder
Source§fn default() -> Utf8StreamDecoder
fn default() -> Utf8StreamDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Utf8StreamDecoder
impl RefUnwindSafe for Utf8StreamDecoder
impl Send for Utf8StreamDecoder
impl Sync for Utf8StreamDecoder
impl Unpin for Utf8StreamDecoder
impl UnsafeUnpin for Utf8StreamDecoder
impl UnwindSafe for Utf8StreamDecoder
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