libdav

Function caldav_service_for_url

source
pub fn caldav_service_for_url(
    url: &Uri,
) -> Result<DiscoverableService, ServiceForUrlError>
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.