aerogramme/src/dav/caldecoder.rs

34 lines
901 B
Rust
Raw Normal View History

2024-03-05 17:15:03 +00:00
use super::types as dav;
use super::caltypes::*;
use super::xml;
use super::error;
// ---- ROOT ELEMENTS ---
// ---- EXTENSIONS ---
impl xml::QRead<Violation> for Violation {
2024-03-05 18:06:04 +00:00
async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
2024-03-05 17:15:03 +00:00
unreachable!();
}
}
impl xml::QRead<Property> for Property {
2024-03-05 18:06:04 +00:00
async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
2024-03-05 17:15:03 +00:00
unreachable!();
}
}
impl xml::QRead<PropertyRequest> for PropertyRequest {
2024-03-05 18:06:04 +00:00
async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
2024-03-05 17:15:03 +00:00
unreachable!();
}
}
impl xml::QRead<ResourceType> for ResourceType {
2024-03-05 18:06:04 +00:00
async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
2024-03-05 17:15:03 +00:00
unreachable!();
}
}
// ---- INNER XML ----