Function libdav::carddav_service_for_url
source · pub fn carddav_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 CardDav usage.