aboutsummaryrefslogtreecommitdiff
path: root/aero-proto/src/dav/node.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-04-23 18:19:07 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-04-23 18:19:07 +0200
commit5d85fd16f2625b6efb7ed70254a275237dfab1eb (patch)
treeb0857a3b48baf7317417dba65e17e379240ca4a5 /aero-proto/src/dav/node.rs
parent6de63055a239be05053424460d019cea8b8495a2 (diff)
downloadaerogramme-5d85fd16f2625b6efb7ed70254a275237dfab1eb.tar.gz
aerogramme-5d85fd16f2625b6efb7ed70254a275237dfab1eb.zip
basic thunderbird event is working!
Diffstat (limited to 'aero-proto/src/dav/node.rs')
-rw-r--r--aero-proto/src/dav/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/aero-proto/src/dav/node.rs b/aero-proto/src/dav/node.rs
index 00dabce..4d5dd1a 100644
--- a/aero-proto/src/dav/node.rs
+++ b/aero-proto/src/dav/node.rs
@@ -35,7 +35,7 @@ pub(crate) trait DavNode: Send {
fn properties(&self, user: &ArcUser, prop: dav::PropName<All>) -> PropertyStream<'static>;
//fn properties(&self, user: &ArcUser, prop: dav::PropName<All>) -> Vec<dav::AnyProperty<All>>;
/// Put an element (create or update)
- fn put<'a>(&'a self, policy: PutPolicy, stream: Content<'a>) -> BoxFuture<'a, Result<Etag>>;
+ fn put<'a>(&'a self, policy: PutPolicy, stream: Content<'a>) -> BoxFuture<'a, std::result::Result<Etag, std::io::Error>>;
/// Content type of the element
fn content_type(&self) -> &str;
/// Get content