aboutsummaryrefslogtreecommitdiff
path: root/src/dav/caldecoder.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-03-06 23:24:54 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-03-06 23:24:54 +0100
commit5e71a7d84804a86d049d3e0a614c35bedf7cb636 (patch)
tree12e05e76a0119c55645de683bec2fd03ab7bed40 /src/dav/caldecoder.rs
parent67e5953c244674c84adf4bd03a0cab1530f6507b (diff)
downloadaerogramme-5e71a7d84804a86d049d3e0a614c35bedf7cb636.tar.gz
aerogramme-5e71a7d84804a86d049d3e0a614c35bedf7cb636.zip
Rewrote the whole decoder
Diffstat (limited to 'src/dav/caldecoder.rs')
-rw-r--r--src/dav/caldecoder.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dav/caldecoder.rs b/src/dav/caldecoder.rs
index b45d649..5f40c4b 100644
--- a/src/dav/caldecoder.rs
+++ b/src/dav/caldecoder.rs
@@ -7,25 +7,25 @@ use super::error;
// ---- EXTENSIONS ---
impl xml::QRead<Violation> for Violation {
- async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
+ async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> {
unreachable!();
}
}
impl xml::QRead<Property> for Property {
- async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
+ async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> {
unreachable!();
}
}
impl xml::QRead<PropertyRequest> for PropertyRequest {
- async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
+ async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> {
unreachable!();
}
}
impl xml::QRead<ResourceType> for ResourceType {
- async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
+ async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> {
unreachable!();
}
}