Struct xml5ever::tendril::fmt::Bytes [−]
pub struct Bytes;
Expand description
Marker type for uninterpreted bytes.
Validation will never fail for this format.
Trait Implementations
impl<Sink, A> TendrilSink<Bytes, A> for Utf8LossyDecoder<Sink, A> where
Sink: TendrilSink<UTF8, A>,
A: Atomicity,
impl<Sink, A> TendrilSink<Bytes, A> for Utf8LossyDecoder<Sink, A> where
Sink: TendrilSink<UTF8, A>,
A: Atomicity,
type Output = <Sink as TendrilSink<UTF8, A>>::Output
type Output = <Sink as TendrilSink<UTF8, A>>::Output
What the overall result of processing is.
pub fn finish(self) -> <Sink as TendrilSink<UTF8, A>>::Output
pub fn finish(self) -> <Sink as TendrilSink<UTF8, A>>::Output
Indicates the end of the stream.
fn from_iter<I>(self, i: I) -> Self::Output where
I: IntoIterator,
<I as IntoIterator>::Item: Into<Tendril<F, A>>,
fn from_iter<I>(self, i: I) -> Self::Output where
I: IntoIterator,
<I as IntoIterator>::Item: Into<Tendril<F, A>>,
Consume an iterator of tendrils, processing each item, then finish.
Read from the given stream of bytes until exhaustion and process incrementally,
then finish. Return Err
at the first I/O error. Read more
Auto Trait Implementations
impl RefUnwindSafe for Bytes
impl UnwindSafe for Bytes
Blanket Implementations
Mutably borrows from an owned value. Read more