clippy appeasement

This commit is contained in:
Lennart
2025-01-04 14:25:25 +01:00
parent c19e4745f9
commit e7f51f040b

View File

@@ -17,7 +17,7 @@ pub trait ResourceService: Sized + 'static {
async fn get_members( async fn get_members(
&self, &self,
path: &Self::PathComponents, _path: &Self::PathComponents,
_rmap: &ResourceMap, _rmap: &ResourceMap,
) -> Result<Vec<(String, Self::MemberType)>, Self::Error> { ) -> Result<Vec<(String, Self::MemberType)>, Self::Error> {
Ok(vec![]) Ok(vec![])
@@ -25,18 +25,18 @@ pub trait ResourceService: Sized + 'static {
async fn get_resource( async fn get_resource(
&self, &self,
path: &Self::PathComponents, _path: &Self::PathComponents,
) -> Result<Self::Resource, Self::Error>; ) -> Result<Self::Resource, Self::Error>;
async fn save_resource( async fn save_resource(
&self, &self,
path: &Self::PathComponents, _path: &Self::PathComponents,
file: Self::Resource, _file: Self::Resource,
) -> Result<(), Self::Error> { ) -> Result<(), Self::Error> {
Err(crate::Error::Unauthorized.into()) Err(crate::Error::Unauthorized.into())
} }
async fn delete_resource( async fn delete_resource(
&self, &self,
path: &Self::PathComponents, _path: &Self::PathComponents,
_use_trashbin: bool, _use_trashbin: bool,
) -> Result<(), Self::Error> { ) -> Result<(), Self::Error> {
Err(crate::Error::Unauthorized.into()) Err(crate::Error::Unauthorized.into())