pub struct DavEvent {
pub request_id: Option<String>,
pub operation: DavOperation,
pub source: DavPath,
pub destination: Option<DavPath>,
pub outcome: DavEventOutcome,
pub elapsed: Duration,
}Expand description
One completed WebDAV operation.
Fields§
§request_id: Option<String>§operation: DavOperation§source: DavPath§destination: Option<DavPath>§outcome: DavEventOutcome§elapsed: DurationImplementations§
Source§impl DavEvent
impl DavEvent
Sourcepub fn completed(
request_head: &DavRequestHead,
status: u16,
elapsed: Duration,
backend_error: Option<DavBackendErrorKind>,
) -> Self
pub fn completed( request_head: &DavRequestHead, status: u16, elapsed: Duration, backend_error: Option<DavBackendErrorKind>, ) -> Self
Builds the transport-neutral event for one completed request.
Only protocol routing data is copied from the request head. Conditional headers, credentials, request bodies, and lock tokens are deliberately excluded.
Trait Implementations§
impl Eq for DavEvent
impl StructuralPartialEq for DavEvent
Auto Trait Implementations§
impl Freeze for DavEvent
impl RefUnwindSafe for DavEvent
impl Send for DavEvent
impl Sync for DavEvent
impl Unpin for DavEvent
impl UnsafeUnpin for DavEvent
impl UnwindSafe for DavEvent
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.