pub enum DavBodyPolicy {
Empty,
BoundedXml,
Stream,
Unused,
}Expand description
How the transport adapter must handle a request body before product code runs.
Variants§
Empty
Reject the first non-empty body chunk.
BoundedXml
Collect the body up to the product-supplied XML limit.
Stream
Leave the body as a stream for the product storage adapter.
Unused
Preserve the existing method behavior without consuming the body.
Trait Implementations§
Source§impl Clone for DavBodyPolicy
impl Clone for DavBodyPolicy
Source§fn clone(&self) -> DavBodyPolicy
fn clone(&self) -> DavBodyPolicy
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 DavBodyPolicy
impl Debug for DavBodyPolicy
Source§impl PartialEq for DavBodyPolicy
impl PartialEq for DavBodyPolicy
Source§fn eq(&self, other: &DavBodyPolicy) -> bool
fn eq(&self, other: &DavBodyPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DavBodyPolicy
impl Eq for DavBodyPolicy
impl StructuralPartialEq for DavBodyPolicy
Auto Trait Implementations§
impl Freeze for DavBodyPolicy
impl RefUnwindSafe for DavBodyPolicy
impl Send for DavBodyPolicy
impl Sync for DavBodyPolicy
impl Unpin for DavBodyPolicy
impl UnsafeUnpin for DavBodyPolicy
impl UnwindSafe for DavBodyPolicy
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.