Enum dav_server::DavMethod
source · #[repr(u32)]pub enum DavMethod {
Show 13 variants
Head = 1,
Get = 2,
Put = 4,
Patch = 8,
Options = 16,
PropFind = 32,
PropPatch = 64,
MkCol = 128,
Copy = 256,
Move = 512,
Delete = 1_024,
Lock = 2_048,
Unlock = 4_096,
}Expand description
HTTP Methods supported by DavHandler.
Variants§
Head = 1
Get = 2
Put = 4
Patch = 8
Options = 16
PropFind = 32
PropPatch = 64
MkCol = 128
Copy = 256
Move = 512
Delete = 1_024
Lock = 2_048
Unlock = 4_096
Trait Implementations§
source§impl PartialEq for DavMethod
impl PartialEq for DavMethod
impl Copy for DavMethod
impl Eq for DavMethod
impl StructuralEq for DavMethod
impl StructuralPartialEq for DavMethod
Auto Trait Implementations§
impl RefUnwindSafe for DavMethod
impl Send for DavMethod
impl Sync for DavMethod
impl Unpin for DavMethod
impl UnwindSafe for DavMethod
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
§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.