pub struct WebDAVClient { /* private fields */ }Implementations§
Source§impl WebDAVClient
impl WebDAVClient
pub fn new(username: &str, password: &str) -> Result<Self, Error>
pub fn request(&self, method: Method, url: impl IntoUrl) -> WevDAVRequestBuilder
pub fn get(&self, url: impl IntoUrl) -> WevDAVRequestBuilder
pub fn put(&self, url: impl IntoUrl) -> WevDAVRequestBuilder
pub async fn list(&self, url: impl IntoUrl) -> Result<Collection, Error>
pub async fn all_propfind(&self, url: impl IntoUrl) -> 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.0.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