pub enum Depth {
Zero,
One,
Infinity,
}Expand description
How far a PROPFIND reaches below the addressed resource (RFC 4918
§9.1).
The variants are the three tokens the specification defines; the server
decides which of them it honours, and Nextcloud refuses Infinity for
most trees.
Variants§
Implementations§
Source§impl Depth
impl Depth
Sourcepub const fn as_header_value(self) -> &'static str
pub const fn as_header_value(self) -> &'static str
Wire representation for the DEPTH_HEADER value.
Trait Implementations§
impl Copy for Depth
impl Eq for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnsafeUnpin for Depth
impl UnwindSafe for Depth
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