[−][src]Struct quick_xml::de::Deserializer
An xml deserializer
Methods
impl<R: BufRead> Deserializer<R>
[src]
pub fn new(reader: Reader<R>) -> Self
[src]
Get a new deserializer
pub fn from_reader(reader: R) -> Self
[src]
Get a new deserializer from a regular BufRead
Trait Implementations
impl<'de, 'a, R: BufRead> Deserializer<'de> for &'a mut Deserializer<R>
[src]
type Error = DeError
The error type that can be returned if some error occurs during deserialization. Read more
fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_identifier<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_struct<V: Visitor<'de>>(
self,
_name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
_name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_i8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_i16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_i32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_i64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_u8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_u16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_u32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_u64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_f32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_f64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_bool<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_string<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_char<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_str<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_bytes<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_byte_buf<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_unit<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_unit_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_tuple<V: Visitor<'de>>(
self,
len: usize,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
len: usize,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_tuple_struct<V: Visitor<'de>>(
self,
_name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
_name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_enum<V: Visitor<'de>>(
self,
_name: &'static str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
_name: &'static str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_seq<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_map<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_ignored_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, DeError>
[src]
self,
visitor: V
) -> Result<V::Value, DeError>
fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
fn is_human_readable(&self) -> bool
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for Deserializer<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for Deserializer<R> where
R: Send,
R: Send,
impl<R> Sync for Deserializer<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Deserializer<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Deserializer<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,