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