pub struct SqliteConnectedCalendarStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for SqliteConnectedCalendarStore
impl Clone for SqliteConnectedCalendarStore
Source§impl ConnectedCalendarStore for SqliteConnectedCalendarStore
impl ConnectedCalendarStore for SqliteConnectedCalendarStore
fn sync_discovered<'life0, 'async_trait>(
&'life0 self,
owner: UserId,
connection: ExternalConnectionId,
calendars: Vec<DiscoveredCalendar>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ConnectedCalendar>, ConnectedCalendarStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_for_connection<'life0, 'async_trait>(
&'life0 self,
owner: UserId,
connection: ExternalConnectionId,
) -> Pin<Box<dyn Future<Output = Result<Vec<ConnectedCalendar>, ConnectedCalendarStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_selected<'life0, 'async_trait>(
&'life0 self,
id: ConnectedCalendarId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConnectedCalendar>, ConnectedCalendarStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_selected<'life0, 'async_trait>(
&'life0 self,
id: ConnectedCalendarId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConnectedCalendar>, ConnectedCalendarStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Resolve a selected calendar by its internal EME identifier.
Only calendars backed by an active provider connection are returned.
fn update<'life0, 'async_trait>(
&'life0 self,
owner: UserId,
id: ConnectedCalendarId,
selected: Option<bool>,
access_mode: Option<CalendarAccessMode>,
) -> Pin<Box<dyn Future<Output = Result<ConnectedCalendar, ConnectedCalendarStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for SqliteConnectedCalendarStore
impl RefUnwindSafe for SqliteConnectedCalendarStore
impl Send for SqliteConnectedCalendarStore
impl Sync for SqliteConnectedCalendarStore
impl Unpin for SqliteConnectedCalendarStore
impl UnsafeUnpin for SqliteConnectedCalendarStore
impl UnwindSafe for SqliteConnectedCalendarStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more