[][src]Struct kevlar::TestConfig

pub struct TestConfig {
    pub path: PathBuf,
}

Fields

path: PathBuf

Methods

impl TestConfig[src]

pub fn load(test_name: &str, config_type: ConfigType) -> Self[src]

Load the config using one of the available methods.

The test_name will be used to generate the test workspace directory. The config_type can be used to specify config via a JSON file or (later) via environment variables. Currently only JSON is supported.

Trait Implementations

impl Serialize for TestConfig[src]

impl<'de> Deserialize<'de> for TestConfig[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]