mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 08:12:24 +00:00
Remove unnecessary async_trait usages
This commit is contained in:
@@ -64,7 +64,6 @@ pub enum PrincipalPropName {
|
|||||||
CalendarUserAddressSet,
|
CalendarUserAddressSet,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait(?Send)]
|
|
||||||
impl Resource for PrincipalFile {
|
impl Resource for PrincipalFile {
|
||||||
type PropName = PrincipalPropName;
|
type PropName = PrincipalPropName;
|
||||||
type Prop = PrincipalProp;
|
type Prop = PrincipalProp;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ use serde::{Deserialize, Serialize};
|
|||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use strum::VariantNames;
|
use strum::VariantNames;
|
||||||
|
|
||||||
#[async_trait(?Send)]
|
|
||||||
pub trait Resource: Clone {
|
pub trait Resource: Clone {
|
||||||
type PropName: FromStr + VariantNames + Clone;
|
type PropName: FromStr + VariantNames + Clone;
|
||||||
type Prop: Serialize + for<'de> Deserialize<'de> + fmt::Debug + InvalidProperty;
|
type Prop: Serialize + for<'de> Deserialize<'de> + fmt::Debug + InvalidProperty;
|
||||||
|
|||||||
Reference in New Issue
Block a user