Enum dav_server::fs::ReadDirMeta [−][src]
pub enum ReadDirMeta {
Data,
DataSymlink,
None,
}Expand description
Used as argument to the read_dir() method. It is:
- an optimization hint (the implementation may call metadata() and store the result in the returned directory entry)
- a way to get metadata instead of symlink_metadata from the directory entry.
Variants
Data
DavDirEntry.metadata() behaves as metadata()
DataSymlink
DavDirEntry.metadata() behaves as symlink_metadata()
None
No optimizations, otherwise like DataSymlink.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReadDirMeta
impl Send for ReadDirMeta
impl Sync for ReadDirMeta
impl Unpin for ReadDirMeta
impl UnwindSafe for ReadDirMeta
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
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
