diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-03-16 16:48:46 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-03-16 16:48:46 +0100 |
commit | 902d33c4344f4e38c021ff20b2197ee1dfbd347f (patch) | |
tree | 3cea2a5cf9f635eccaa280cd04475e0d580d2eb0 /aero-dav/src/realization.rs | |
parent | 3abdafb0dbbc9290329e4974e821933426b32f91 (diff) | |
download | aerogramme-902d33c4344f4e38c021ff20b2197ee1dfbd347f.tar.gz aerogramme-902d33c4344f4e38c021ff20b2197ee1dfbd347f.zip |
bind streaming codec to hyper 1.x
Diffstat (limited to 'aero-dav/src/realization.rs')
-rw-r--r-- | aero-dav/src/realization.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aero-dav/src/realization.rs b/aero-dav/src/realization.rs index 5781637..a7bbb16 100644 --- a/aero-dav/src/realization.rs +++ b/aero-dav/src/realization.rs @@ -11,8 +11,8 @@ impl xml::QRead<Disabled> for Disabled { } } impl xml::QWrite for Disabled { - async fn qwrite(&self, _xml: &mut xml::Writer<impl xml::IWrite>) -> Result<(), quick_xml::Error> { - unreachable!(); + fn qwrite(&self, _xml: &mut xml::Writer<impl xml::IWrite>) -> impl futures::Future<Output = Result<(), quick_xml::Error>> + Send { + async { unreachable!(); } } } |