Browse Source

[doc]

github_actions
daladim 5 years ago
parent
commit
18e2d0a96a
  1. 6
      src/provider.rs

6
src/provider.rs

@ -41,8 +41,10 @@ impl SyncResult {
} }
} }
/// A data source that combines two `CalDavSource`s (usually a server and a local cache), which is able to sync both sources. /// A data source that combines two `CalDavSource`s, which is able to sync both sources.
/// This can be used for integration tests, where the remote source is mocked by a `Cache`. ///
/// Usually, you will only need to use a provider between a server and a local cache, that is to say `Provider<Cache, CachedCalendar, Client, RemoteCalendar>`
/// However, providers can be used for integration tests, where the remote source is mocked by a `Cache`.
pub struct Provider<L, T, R, U> pub struct Provider<L, T, R, U>
where where
L: CalDavSource<T>, L: CalDavSource<T>,

Loading…
Cancel
Save