pub enum DavCapabilityPlanError {
Show 38 variants
OptionsMissing,
HeadWithoutGet,
Class2WithoutClass1,
Class2WithoutLockMethods,
LockMethodsWithoutClass2,
Class3WithoutClass1,
ExtensionWithoutClass1 {
package: DavExtensionPackage,
},
ExtensionMissingPrerequisite {
package: DavExtensionPackage,
required: DavExtensionPackage,
},
ExtensionNotApplicable {
package: DavExtensionPackage,
resource: DavResourceState,
},
VersionControlWithoutTarget,
VersioningTargetWithoutPackage,
AutoVersionNotApplicable,
WriteLockWithoutClass2,
AutoCheckoutLockNotApplicable,
AutoCheckoutLockWithoutApplicableMode,
VersionDeletePolicyNotApplicable,
VersionControlMethodNotApplicable,
ExtensionMethodWithoutPackage {
method: DavMethod,
},
SearchWithoutBasicSearch,
SearchGrammarsWithoutPackage,
InvalidSearchGrammarCodedUrl {
index: usize,
coded_url: &'static str,
},
InvalidSearchGrammarXmlLocalName {
index: usize,
xml_local_name: &'static str,
},
InvalidSearchGrammarXmlNamespace {
index: usize,
xml_namespace: &'static str,
},
DuplicateSearchGrammar {
index: usize,
previous_index: usize,
coded_url: &'static str,
xml_namespace: &'static str,
xml_local_name: &'static str,
},
PartialPutWithoutPut,
PatchWithoutFormats,
PatchFormatsWithoutMethod,
InvalidPatchMediaType,
DuplicatePatchMediaType,
PrivateUpdateRangeWithoutPut,
Class1ExceedsProfile,
Class2ExceedsProfile,
Class3ExceedsProfile,
ExtensionExceedsProfile {
package: DavExtensionPackage,
},
PartialPutExceedsProfile,
PatchExceedsProfile,
PrivateUpdateRangeExceedsProfile,
InvalidHeaderRepresentation,
}Expand description
Failure raised when a product declaration violates the protocol model.
Variants§
OptionsMissing
HeadWithoutGet
Class2WithoutClass1
Class2WithoutLockMethods
LockMethodsWithoutClass2
Class3WithoutClass1
ExtensionWithoutClass1
Fields
§
package: DavExtensionPackageExtensionMissingPrerequisite
ExtensionNotApplicable
VersionControlWithoutTarget
VersioningTargetWithoutPackage
AutoVersionNotApplicable
WriteLockWithoutClass2
AutoCheckoutLockNotApplicable
AutoCheckoutLockWithoutApplicableMode
VersionDeletePolicyNotApplicable
VersionControlMethodNotApplicable
ExtensionMethodWithoutPackage
SearchWithoutBasicSearch
SearchGrammarsWithoutPackage
InvalidSearchGrammarCodedUrl
InvalidSearchGrammarXmlLocalName
InvalidSearchGrammarXmlNamespace
DuplicateSearchGrammar
Fields
PartialPutWithoutPut
PatchWithoutFormats
PatchFormatsWithoutMethod
InvalidPatchMediaType
DuplicatePatchMediaType
PrivateUpdateRangeWithoutPut
Class1ExceedsProfile
Class2ExceedsProfile
Class3ExceedsProfile
ExtensionExceedsProfile
Fields
§
package: DavExtensionPackagePartialPutExceedsProfile
PatchExceedsProfile
PrivateUpdateRangeExceedsProfile
InvalidHeaderRepresentation
Trait Implementations§
Source§impl Clone for DavCapabilityPlanError
impl Clone for DavCapabilityPlanError
Source§fn clone(&self) -> DavCapabilityPlanError
fn clone(&self) -> DavCapabilityPlanError
Returns a duplicate of the value. Read more
1.0.0 · 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 DavCapabilityPlanError
impl Debug for DavCapabilityPlanError
Source§impl Display for DavCapabilityPlanError
impl Display for DavCapabilityPlanError
Source§impl Error for DavCapabilityPlanError
impl Error for DavCapabilityPlanError
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<DavCapabilityPlanError> for DavCapabilityEvaluationError
impl From<DavCapabilityPlanError> for DavCapabilityEvaluationError
Source§fn from(source: DavCapabilityPlanError) -> Self
fn from(source: DavCapabilityPlanError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DavCapabilityPlanError
impl PartialEq for DavCapabilityPlanError
impl Eq for DavCapabilityPlanError
impl StructuralPartialEq for DavCapabilityPlanError
Auto Trait Implementations§
impl Freeze for DavCapabilityPlanError
impl RefUnwindSafe for DavCapabilityPlanError
impl Send for DavCapabilityPlanError
impl Sync for DavCapabilityPlanError
impl Unpin for DavCapabilityPlanError
impl UnwindSafe for DavCapabilityPlanError
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.