Struct webdav_handler::DavConfig [−][src]
pub struct DavConfig { /* fields omitted */ }
Expand description
Configuration of the handler.
Implementations
impl DavConfig
[src]
impl DavConfig
[src]pub fn build_handler(self) -> DavHandler
[src]
pub fn build_handler(self) -> DavHandler
[src]Use the configuration that was built to generate a DavConfig.
pub fn strip_prefix(self, prefix: impl Into<String>) -> Self
[src]
pub fn strip_prefix(self, prefix: impl Into<String>) -> Self
[src]Prefix to be stripped off before translating the rest of the request path to a filesystem path.
pub fn filesystem(self, fs: Box<dyn DavFileSystem>) -> Self
[src]
pub fn filesystem(self, fs: Box<dyn DavFileSystem>) -> Self
[src]Set the filesystem to use.
pub fn locksystem(self, ls: Box<dyn DavLockSystem>) -> Self
[src]
pub fn locksystem(self, ls: Box<dyn DavLockSystem>) -> Self
[src]Set the locksystem to use.
pub fn methods(self, allow: DavMethodSet) -> Self
[src]
pub fn methods(self, allow: DavMethodSet) -> Self
[src]Which methods to allow (default is all methods).
pub fn principal(self, principal: impl Into<String>) -> Self
[src]
pub fn principal(self, principal: impl Into<String>) -> Self
[src]Set the name of the “webdav principal”. This will be the owner of any created locks.
pub fn hide_symlinks(self, hide: bool) -> Self
[src]
pub fn hide_symlinks(self, hide: bool) -> Self
[src]Hide symbolic links (default is true)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DavConfig
impl Send for DavConfig
impl Sync for DavConfig
impl Unpin for DavConfig
impl !UnwindSafe for DavConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,