pub struct Utf8Decoder<R> { /* private fields */ }
Implementations§
Source§impl<R> Utf8Decoder<R>
impl<R> Utf8Decoder<R>
Sourcepub fn with_capacity(capacity: usize, reader: R) -> Self
pub fn with_capacity(capacity: usize, reader: R) -> Self
Create a new incremental UTF-8 decoder from reader
with specified capacity
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Consumes this decoder, returning the underlying reader.
Trait Implementations§
Source§impl<R> Stream for Utf8Decoder<R>
impl<R> Stream for Utf8Decoder<R>
impl<'__pin, R> Unpin for Utf8Decoder<R>where
PinnedFieldsOf<__Origin<'__pin, R>>: Unpin,
Auto Trait Implementations§
impl<R> Freeze for Utf8Decoder<R>where
R: Freeze,
impl<R> RefUnwindSafe for Utf8Decoder<R>where
R: RefUnwindSafe,
impl<R> Send for Utf8Decoder<R>where
R: Send,
impl<R> Sync for Utf8Decoder<R>where
R: Sync,
impl<R> UnwindSafe for Utf8Decoder<R>where
R: UnwindSafe,
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