pub enum DavXmlError {
ExternalEntity,
TooDeep,
TooLarge,
Malformed,
InvalidGrammar,
}Expand description
XML failure returned by the WebDAV grammar boundary.
Variants§
ExternalEntity
The document declares a DTD or entity.
TooDeep
The document exceeds the configured nesting depth.
TooLarge
The request XML exceeds an input or decoded-text size limit.
Malformed
The document is malformed or is not a single-root document.
InvalidGrammar
The document is well-formed XML but violates the method grammar.
Trait Implementations§
Source§impl Clone for DavXmlError
impl Clone for DavXmlError
Source§fn clone(&self) -> DavXmlError
fn clone(&self) -> DavXmlError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DavXmlError
impl Debug for DavXmlError
Source§impl Display for DavXmlError
impl Display for DavXmlError
Source§impl Error for DavXmlError
impl Error for DavXmlError
1.30.0 · 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<DavXmlError> for DavLockPlanError
impl From<DavXmlError> for DavLockPlanError
Source§fn from(source: DavXmlError) -> Self
fn from(source: DavXmlError) -> Self
Converts to this type from the input type.
Source§impl From<DavXmlError> for DavVersionTreeReportError
impl From<DavXmlError> for DavVersionTreeReportError
Source§fn from(source: DavXmlError) -> Self
fn from(source: DavXmlError) -> Self
Converts to this type from the input type.
Source§impl From<XmlSafetyError> for DavXmlError
impl From<XmlSafetyError> for DavXmlError
Source§impl PartialEq for DavXmlError
impl PartialEq for DavXmlError
Source§fn eq(&self, other: &DavXmlError) -> bool
fn eq(&self, other: &DavXmlError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DavXmlError
impl Eq for DavXmlError
impl StructuralPartialEq for DavXmlError
Auto Trait Implementations§
impl Freeze for DavXmlError
impl RefUnwindSafe for DavXmlError
impl Send for DavXmlError
impl Sync for DavXmlError
impl Unpin for DavXmlError
impl UnsafeUnpin for DavXmlError
impl UnwindSafe for DavXmlError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.