Struct hyperdav::ClientBuilder [−][src]
pub struct ClientBuilder { /* fields omitted */ }
The builder for the Client
.
Methods
impl ClientBuilder
[src]
impl ClientBuilder
pub fn new() -> Self
[src]
pub fn new() -> Self
Construct a new ClientBuilder
.
pub fn credentials<S>(self, username: S, password: S) -> Self where
S: Into<Cow<'static, str>>,
[src]
pub fn credentials<S>(self, username: S, password: S) -> Self where
S: Into<Cow<'static, str>>,
Set the credentials for the server.
pub fn build<U>(self, webdav_url: U) -> Result<Client, FailureError> where
U: IntoUrl,
[src]
pub fn build<U>(self, webdav_url: U) -> Result<Client, FailureError> where
U: IntoUrl,
Trait Implementations
impl Default for ClientBuilder
[src]
impl Default for ClientBuilder
fn default() -> ClientBuilder
[src]
fn default() -> ClientBuilder
Returns the "default value" for a type. Read more
impl Debug for ClientBuilder
[src]
impl Debug for ClientBuilder
Auto Trait Implementations
impl Send for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Sync for ClientBuilder