Function libdav::caldav_service_for_url
source · pub fn caldav_service_for_url(
url: &Uri,
) -> Result<DiscoverableService, InvalidUrl>
Expand description
Return the service type based on a URL’s scheme.
§Errors
If url
is missing a scheme or has a scheme invalid for CalDav usage.