[][src]Struct efflux::context::Configuration

pub struct Configuration { /* fields omitted */ }

Configuration struct to represent a Hadoop configuration.

Internally this is simply a String -> String map, as we don't have enough information to parse with. The struct implementation exists as a compatibility layer.

Methods

impl Configuration
[src]

pub fn new() -> Self
[src]

Constructs a new Configuration using Hadoop's input.

pub fn with_env<I, T>(pairs: I) -> Self where
    T: Into<String>,
    I: Iterator<Item = (T, T)>, 
[src]

Constructs a new Configuration using a custom input.

pub fn get(&self, key: &str) -> Option<&str>
[src]

Retrieves a potential Configuration value.

pub fn insert<T>(&mut self, key: T, val: T) where
    T: Into<String>, 
[src]

Inserts a key/value pair into the Configuration.

Trait Implementations

impl Contextual for Configuration
[src]

impl Debug for Configuration
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]