[−][src]Struct webdav_handler::localfs::LocalFs
Local Filesystem implementation.
Methods
impl LocalFs[src]
pub fn new<P: AsRef<Path>>(
base: P,
public: bool,
case_insensitive: bool,
macos: bool
) -> Box<LocalFs>[src]
base: P,
public: bool,
case_insensitive: bool,
macos: bool
) -> Box<LocalFs>
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!
Trait Implementations
impl Clone for LocalFs[src]
impl DavFileSystem for LocalFs[src]
fn metadata<'a>(
&'a self,
davpath: &'a DavPath
) -> FsFuture<Box<dyn DavMetaData>>[src]
&'a self,
davpath: &'a DavPath
) -> FsFuture<Box<dyn DavMetaData>>
fn symlink_metadata<'a>(
&'a self,
davpath: &'a DavPath
) -> FsFuture<Box<dyn DavMetaData>>[src]
&'a self,
davpath: &'a DavPath
) -> FsFuture<Box<dyn DavMetaData>>
fn read_dir<'a>(
&'a self,
davpath: &'a DavPath,
meta: ReadDirMeta
) -> FsFuture<FsStream<Box<dyn DavDirEntry>>>[src]
&'a self,
davpath: &'a DavPath,
meta: ReadDirMeta
) -> FsFuture<FsStream<Box<dyn DavDirEntry>>>
fn open<'a>(
&'a self,
path: &'a DavPath,
options: OpenOptions
) -> FsFuture<Box<dyn DavFile>>[src]
&'a self,
path: &'a DavPath,
options: OpenOptions
) -> FsFuture<Box<dyn DavFile>>
fn create_dir<'a>(&'a self, path: &'a DavPath) -> FsFuture<()>[src]
fn remove_dir<'a>(&'a self, path: &'a DavPath) -> FsFuture<()>[src]
fn remove_file<'a>(&'a self, path: &'a DavPath) -> FsFuture<()>[src]
fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<()>[src]
fn copy<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<()>[src]
fn have_props<'a>(
&'a self,
path: &'a DavPath
) -> Pin<Box<dyn Future<Output = bool> + Send + 'a>>[src]
&'a self,
path: &'a DavPath
) -> Pin<Box<dyn Future<Output = bool> + Send + 'a>>
fn patch_props<'a>(
&'a self,
path: &'a DavPath,
patch: Vec<(bool, DavProp)>
) -> FsFuture<Vec<(StatusCode, DavProp)>>[src]
&'a self,
path: &'a DavPath,
patch: Vec<(bool, DavProp)>
) -> FsFuture<Vec<(StatusCode, DavProp)>>
fn get_props<'a>(
&'a self,
path: &'a DavPath,
do_content: bool
) -> FsFuture<Vec<DavProp>>[src]
&'a self,
path: &'a DavPath,
do_content: bool
) -> FsFuture<Vec<DavProp>>
fn get_prop<'a>(&'a self, path: &'a DavPath, prop: DavProp) -> FsFuture<Vec<u8>>[src]
fn get_quota<'a>(&'a self) -> FsFuture<(u64, Option<u64>)>[src]
Auto Trait Implementations
impl !RefUnwindSafe for LocalFs
impl Send for LocalFs
impl Sync for LocalFs
impl Unpin for LocalFs
impl !UnwindSafe for LocalFs
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,