mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-18 03:49:22 +00:00
Dav Push: Support for calendar collections
This commit is contained in:
@@ -9,7 +9,7 @@ pub struct Subscription {
|
||||
pub push_resource: String,
|
||||
}
|
||||
|
||||
#[async_trait(?Send)]
|
||||
#[async_trait]
|
||||
pub trait SubscriptionStore: Send + Sync + 'static {
|
||||
async fn get_subscriptions(&self, topic: &str) -> Result<Vec<Subscription>, Error>;
|
||||
async fn get_subscription(&self, id: &str) -> Result<Subscription, Error>;
|
||||
|
||||
Reference in New Issue
Block a user