Struct dav_server::localfs::LocalFs[][src]

pub struct LocalFs { /* fields omitted */ }
Expand description

Local Filesystem implementation.

Implementations

Create a new LocalFs DavFileSystem, serving “base”.

If “public” is set to true, all files and directories created will be publically readable (mode 644/755), otherwise they will be private (mode 600/700). Umask stil overrides this.

If “case_insensitive” is set to true, all filesystem lookups will be case insensitive. Note that this has a lot of overhead!

Create a new LocalFs DavFileSystem, serving “file”.

This is like new(), but it always serves this single file. The request path is ignored.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Return the metadata of a file or directory.

Return the metadata of a file, directory or symbolic link. Read more

Perform read_dir.

Open a file.

Create a directory. Read more

Remove a directory. Read more

Remove a file. Read more

Rename a file or directory. Read more

Copy a file Read more

Indicator that tells if this filesystem driver supports DAV properties. Read more

Patch the DAV properties of a node (add/remove props) Read more

List/get the DAV properties of a node. Read more

Get one specific named property of a node. Read more

Get quota of this filesystem (used/total space). Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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