[−][src]Struct serde_xml_rs::de::Deserializer
Implementations
impl<'de, R: Read> Deserializer<R>
[src]
pub fn new(reader: EventReader<R>) -> Self
[src]
pub fn new_from_reader(reader: R) -> Self
[src]
pub fn unset_map_value(&mut self) -> bool
[src]
Trait Implementations
impl<'de, 'a, R: Read> Deserializer<'de> for &'a mut Deserializer<R>
[src]
type Error = Error
The error type that can be returned if some error occurs during deserialization. Read more
pub fn deserialize_identifier<V>(
self,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
pub fn deserialize_struct<V: Visitor<'de>>(
self,
_name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error>
[src]
self,
_name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_i8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_i16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_i32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_i64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_u8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_u16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_u32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_u64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_f32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_f64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_bool<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_char<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_str<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_bytes<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_byte_buf<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_unit<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_unit_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_tuple_struct<V: Visitor<'de>>(
self,
_name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
_name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_tuple<V: Visitor<'de>>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
len: usize,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_enum<V: Visitor<'de>>(
self,
_name: &'static str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error>
[src]
self,
_name: &'static str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_string<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_seq<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_map<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_ignored_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>
[src]
self,
visitor: V
) -> Result<V::Value, Error>
pub 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>,
pub 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>,
pub fn is_human_readable(&self) -> bool
[src]
Auto Trait Implementations
impl<R> !RefUnwindSafe for Deserializer<R>
[src]
impl<R> Send for Deserializer<R> where
R: Send,
[src]
R: Send,
impl<R> Sync for Deserializer<R> where
R: Sync,
[src]
R: Sync,
impl<R> Unpin for Deserializer<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> !UnwindSafe for Deserializer<R>
[src]
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,
pub 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.
pub 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>,