Struct quick_xml::de::IoReader

source ·
pub struct IoReader<R: BufRead> { /* private fields */ }
Available on crate feature serialize only.
Expand description

XML input source that reads from a std::io input stream.

You cannot create it, it is created automatically when you call Deserializer::from_reader

Trait Implementations§

Return an input-borrowing event.
Skips until end element is found. Unlike next() it will not allocate when it cannot satisfy the lifetime.
A copy of the reader’s decoder used to decode strings.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.