pub struct WebDAVClient { /* private fields */ }Implementations§
source§impl WebDAVClient
impl WebDAVClient
pub fn new(auth: Option<Auth>, base_url: Option<&str>) -> Result<Self, Error>
pub fn request(&self, method: Method, url: &str) -> WevDAVRequestBuilder
pub fn get(&self, url: &str) -> impl Future<Output = Result<Response, Error>>
pub async fn list_collection<U: AsRef<str>>( &self, url: U, ) -> Result<Collection, Error>
pub fn all_propfind( &self, url: &str, ) -> impl Future<Output = Result<Response, Error>>
Trait Implementations§
source§impl Clone for WebDAVClient
impl Clone for WebDAVClient
source§fn clone(&self) -> WebDAVClient
fn clone(&self) -> WebDAVClient
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for WebDAVClient
impl Default for WebDAVClient
source§fn default() -> WebDAVClient
fn default() -> WebDAVClient
Returns the “default value” for a type. Read more
impl Send for WebDAVClient
impl Sync for WebDAVClient
Auto Trait Implementations§
impl Freeze for WebDAVClient
impl !RefUnwindSafe for WebDAVClient
impl Unpin for WebDAVClient
impl !UnwindSafe for WebDAVClient
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)