From efa5e3ab89523c85c3c56c4d37fe3fa26fac4306 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:09:28 +0200 Subject: [PATCH] Update docstrings --- crates/dav/src/resource.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/dav/src/resource.rs b/crates/dav/src/resource.rs index ae15312..6c6c2ec 100644 --- a/crates/dav/src/resource.rs +++ b/crates/dav/src/resource.rs @@ -135,10 +135,6 @@ pub trait InvalidProperty { fn invalid_property(&self) -> bool; } -// A resource is identified by a URI and has properties -// A resource can also be a collection -// A resource cannot be none, only Methods like PROPFIND, GET, REPORT, etc. can be exposed -// A resource exists #[async_trait(?Send)] pub trait ResourceService: Sized + 'static { type MemberType: Resource; @@ -184,6 +180,7 @@ pub trait ResourceService: Sized + 'static { ) } + /// Hook for other resources to insert their additional methods (i.e. REPORT, MKCALENDAR) #[inline] fn actix_additional_routes(res: actix_web::Resource) -> actix_web::Resource { res