Crate webdav_xml

source ·
Expand description

Definitions and (de)serialization for WebDAV XML elements as defined in RFC 4918.

Since WebDAV uses XML namespaces and supports custom elements in the <DAV:prop /> element, we can’t rely on e. g. serde to (de)serialize XML elements.

Instead, this crate uses the Element trait to define an element and FromXml/IntoXml for (de)serialization.

Re-exports§

Modules§

Structs§

Enums§

  • Error type to wrap all errors that might occur when (de)serializing.
  • Represents the content of an XML element.

Constants§

Traits§

  • Declares an element’s namespace and tag
  • Performs deserialization from XML.
  • Performs serialization to XML.

Type Aliases§

  • Alias for the result type that is used in this crate.