Struct hdfs_client::ClientConfig
source · pub struct ClientConfig {
pub real_user: Option<String>,
pub effective_user: Option<String>,
pub name_node: Vec<String>,
pub connection_timeout: u64,
pub use_hostname: bool,
pub write_buf_size: usize,
pub read_buf_size: usize,
pub tcp_keepalived: Option<u64>,
pub no_delay: bool,
}Fields§
§real_user: Option<String>§effective_user: Option<String>§name_node: Vec<String>§connection_timeout: u64§use_hostname: bool§write_buf_size: usize§read_buf_size: usize§tcp_keepalived: Option<u64>§no_delay: boolTrait Implementations§
source§impl Clone for ClientConfig
impl Clone for ClientConfig
source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 Debug for ClientConfig
impl Debug for ClientConfig
Auto Trait Implementations§
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request