mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 16:32:29 +00:00
clippy appeasement
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user