Struct dav_server::DavHandler [−][src]
pub struct DavHandler { /* fields omitted */ }Expand description
The webdav handler struct.
The new and build etc methods are used to instantiate a handler.
The handle and handle_with methods are the methods that do the actual work.
Implementations
Create a new DavHandler.
This returns a DavHandler with an empty configuration. That’s only
useful if you use the handle_with method instead of handle.
Normally you should create a new DavHandler using DavHandler::build
and configure at least the filesystem, and probably the strip_prefix.
Handle a webdav request.
Handle a webdav request, overriding parts of the config.
For example, the principal can be set for this request.
Or, the default config has no locksystem, and you pass in
a fake locksystem (FakeLs) because this is a request from a
windows or macos client that needs to see locking support.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DavHandler
impl Send for DavHandler
impl Sync for DavHandler
impl Unpin for DavHandler
impl !UnwindSafe for DavHandler
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
