Struct webhdfs::async_client::HdfsClientBuilder [−][src]
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
impl !RefUnwindSafe for HdfsClientBuilder
[src]
impl !Send for HdfsClientBuilder
[src]
impl !Sync for HdfsClientBuilder
[src]
impl Unpin for HdfsClientBuilder
[src]
impl UnwindSafe for HdfsClientBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,