libdav

Function carddav_service_for_url

source
pub fn carddav_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 CardDAV usage.