diff options
Diffstat (limited to 'aero-dav/src/caldecoder.rs')
-rw-r--r-- | aero-dav/src/caldecoder.rs | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/aero-dav/src/caldecoder.rs b/aero-dav/src/caldecoder.rs index fb840d6..3aae4ad 100644 --- a/aero-dav/src/caldecoder.rs +++ b/aero-dav/src/caldecoder.rs @@ -1,9 +1,39 @@ -//use super::types as dav; +use super::types as dav; use super::caltypes::*; use super::xml; use super::error; // ---- ROOT ELEMENTS --- +impl<E: dav::Extension> xml::QRead<MkCalendar<E>> for MkCalendar<E> { + async fn qread(_xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> { + unreachable!(); + } +} + +impl<E: dav::Extension, N: xml::Node<N>> xml::QRead<MkCalendarResponse<E,N>> for MkCalendarResponse<E,N> { + async fn qread(_xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> { + unreachable!(); + } +} + +impl<E: dav::Extension> xml::QRead<CalendarQuery<E>> for CalendarQuery<E> { + async fn qread(_xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> { + unreachable!(); + } +} + +impl<E: dav::Extension> xml::QRead<CalendarMultiget<E>> for CalendarMultiget<E> { + async fn qread(_xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> { + unreachable!(); + } +} + +impl xml::QRead<FreeBusyQuery> for FreeBusyQuery { + async fn qread(_xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> { + unreachable!(); + } +} + // ---- EXTENSIONS --- impl xml::QRead<Violation> for Violation { @@ -31,3 +61,8 @@ impl xml::QRead<ResourceType> for ResourceType { } // ---- INNER XML ---- +impl xml::QRead<SupportedCollation> for SupportedCollation { + async fn qread(_xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> { + unreachable!(); + } +} |