[][src]Struct webdav_handler::davpath::DavPathRef

pub struct DavPathRef { /* fields omitted */ }

Reference to DavPath, no prefix. It's what you get when you Deref DavPath, and returned by DavPath::with_prefix().

Implementations

impl DavPathRef[src]

pub fn as_bytes(&self) -> &[u8][src]

as raw bytes, not encoded, no prefix.

pub fn as_pathbuf(&self) -> PathBuf[src]

as OS specific Path. never ends in "/".

pub fn as_url_string(&self) -> String[src]

as URL encoded string, with prefix.

pub fn is_collection(&self) -> bool[src]

is this a collection i.e. does the original URL path end in "/".

pub fn as_rel_ospath(&self) -> &Path[src]

as OS specific Path, relative (remove first slash)

Used to push() onto a pathbuf.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]