Skip to main content

FromXml

Trait FromXml 

Source
pub trait FromXml<B: AsyncBufRead + Unpin> {
    type Visitor: Visitor<B, Output = Self> + Default;
}
Expand description

Marks a type as being deserializable from XML

Required Associated Types§

Source

type Visitor: Visitor<B, Output = Self> + Default

The visitor to use to deserialize this type

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<B, T> FromXml<B> for Option<T>
where B: AsyncBufRead + Unpin, T: FromXml<B>,

Implementors§

Source§

impl<B, T, E> FromXml<B> for T
where B: AsyncBufRead + Unpin, T: XmlFromStr + FromStr<Err = E>, E: Display,

Source§

impl<B> FromXml<B> for XmlNode
where B: AsyncBufRead + Unpin,