aboutsummaryrefslogtreecommitdiff
path: root/src/dav/realization.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dav/realization.rs')
-rw-r--r--src/dav/realization.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dav/realization.rs b/src/dav/realization.rs
index 1898173..33a556e 100644
--- a/src/dav/realization.rs
+++ b/src/dav/realization.rs
@@ -6,8 +6,8 @@ use super::error;
#[derive(Debug, PartialEq)]
pub struct Disabled(());
impl xml::QRead<Disabled> for Disabled {
- async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Option<Self>, error::ParsingError> {
- Ok(None)
+ async fn qread(xml: &mut xml::Reader<impl xml::IRead>) -> Result<Self, error::ParsingError> {
+ Err(error::ParsingError::Recoverable)
}
}
impl xml::QWrite for Disabled {