Struct webhdfs::async_client::HdfsClientBuilder[][src]

pub struct HdfsClientBuilder { /* fields omitted */ }

Builder for HdfsClient

Implementations

impl HdfsClientBuilder[src]

pub fn new(entrypoint: Uri) -> Self[src]

Creates new builder from entrypoint

pub fn from_explicit_config(conf: Config) -> Self[src]

Creates new builder from the specified configuration

pub fn from_config() -> Self[src]

Creates new builder, filled with the configuration read from configuration files. See comments at crate::config for detailed semantics.

pub fn from_config_opt() -> Option<Self>[src]

Creates new builder, filled with the configuration read from configuration files, if those have been found. Returns None otherwise. Note that invalid configuration files casuse panic rather than returning None.

pub fn alt_entrypoint(self, alt_entrypoint: Uri) -> Self[src]

pub fn https_settings(self, https_settings: HttpsSettings) -> Self[src]

pub fn natmap(self, natmap: NatMap) -> Self[src]

pub fn default_timeout(self, timeout: Duration) -> Self[src]

pub fn user_name(self, user_name: String) -> Self[src]

pub fn doas(self, doas: String) -> Self[src]

pub fn delegation_token(self, dt: String) -> Self[src]

pub fn build(self) -> HdfsClient[src]

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]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.