Skip to main content

DavMetaData

Trait DavMetaData 

Source
pub trait DavMetaData: Send + Sync {
    // Required methods
    fn len(&self) -> u64;
    fn modified(&self) -> FsResult<SystemTime>;
    fn is_dir(&self) -> bool;
    fn etag(&self) -> Option<String>;
    fn created(&self) -> FsResult<SystemTime>;

    // Provided methods
    fn content_type(&self) -> Option<&str> { ... }
    fn is_empty(&self) -> bool { ... }
    fn is_file(&self) -> bool { ... }
}
Expand description

Protocol-visible resource metadata supplied by the product adapter.

Required Methods§

Source

fn len(&self) -> u64

Source

fn modified(&self) -> FsResult<SystemTime>

Source

fn is_dir(&self) -> bool

Source

fn etag(&self) -> Option<String>

Source

fn created(&self) -> FsResult<SystemTime>

Provided Methods§

Source

fn content_type(&self) -> Option<&str>

Source

fn is_empty(&self) -> bool

Source

fn is_file(&self) -> bool

Implementors§