libdav 0.10.3

CalDAV and CardDAV client implementations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2023-2024 Hugo Osvaldo Barrera
//
// SPDX-License-Identifier: ISC

//! Common bits shared between caldav and carddav clients.

/// Error type for [`crate::caldav::service_for_url`] and [`crate::carddav::service_for_url`].
#[derive(thiserror::Error, Debug)]
pub enum ServiceForUrlError {
    /// The provided URL is missing a scheme.
    #[error("missing scheme in URL")]
    MissingScheme,
    /// The provided URL has an unknown scheme.
    #[error("unknown scheme in URL")]
    UnknownScheme,
}