pub enum WebdavClientStdError {
Send(SendError),
FollowRedirects(FollowRedirectsError),
SyncCollection(SyncCollectionError),
Io(Error),
Tls(Error),
UrlMissingHost(String),
UrlUnsupportedScheme(String, String),
UnexpectedRedirect(Url),
MissingPrincipal,
MissingCalendarHomeSet,
MissingAddressbookHomeSet,
}Available on crate feature
client only.Expand description
Errors returned by WebdavClientStd.
Variants§
Send(SendError)
A WebDAV request failed while being sent.
FollowRedirects(FollowRedirectsError)
A redirect-aware WebDAV send failed.
SyncCollection(SyncCollectionError)
A sync-collection REPORT failed.
Io(Error)
An underlying I/O operation failed.
Tls(Error)
Available on crate features
native-tls or rustls-aws or rustls-ring only.TLS negotiation or the underlying TLS stack failed.
UrlMissingHost(String)
Available on crate features
native-tls or rustls-aws or rustls-ring only.The target WebDAV URL carries no host.
UrlUnsupportedScheme(String, String)
Available on crate features
native-tls or rustls-aws or rustls-ring only.The target WebDAV URL uses a scheme other than http or https.
UnexpectedRedirect(Url)
The server redirected during an operation that must not follow redirects.
MissingPrincipal
The client has no principal URL yet; current_user_principal
must run first.
MissingCalendarHomeSet
The client has no calendar home-set yet; calendar_home_set must
run first.
MissingAddressbookHomeSet
The client has no addressbook home-set yet; addressbook_home_set
must run first.
Trait Implementations§
Source§impl Debug for WebdavClientStdError
impl Debug for WebdavClientStdError
Source§impl Display for WebdavClientStdError
impl Display for WebdavClientStdError
Source§impl Error for WebdavClientStdError
impl Error for WebdavClientStdError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for WebdavClientStdError
impl From<Error> for WebdavClientStdError
Source§impl From<Error> for WebdavClientStdError
impl From<Error> for WebdavClientStdError
Source§impl From<FollowRedirectsError> for WebdavClientStdError
impl From<FollowRedirectsError> for WebdavClientStdError
Source§fn from(source: FollowRedirectsError) -> Self
fn from(source: FollowRedirectsError) -> Self
Converts to this type from the input type.
Source§impl From<SendError> for WebdavClientStdError
impl From<SendError> for WebdavClientStdError
Source§impl From<SyncCollectionError> for WebdavClientStdError
impl From<SyncCollectionError> for WebdavClientStdError
Source§fn from(source: SyncCollectionError) -> Self
fn from(source: SyncCollectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for WebdavClientStdError
impl !UnwindSafe for WebdavClientStdError
impl Freeze for WebdavClientStdError
impl Send for WebdavClientStdError
impl Sync for WebdavClientStdError
impl Unpin for WebdavClientStdError
impl UnsafeUnpin for WebdavClientStdError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more