pub fn build(&self) -> Result<LocalConfig, LocalInstallError> {
        let config = self
            .build_impl()
            .map_err(|err| LocalInstallError::MissingRequiredConfig(err.to_string()))?;
        Ok(config)
    }
/// Creates a `LocalConfig` with the current configuration.
///
/// # Example
///
/// The simplest flow to create a `ClusterConfig` looks like:
///
/// ```
/// # use fluvio_cluster::{ClusterError, LocalConfig};
/// # fn example() -> Result<(), ClusterError> {
/// use semver::Version;
/// let config: LocalConfig = LocalConfig::builder(Version::parse("0.7.0-alpha.1").unwrap()).build()?;
/// # Ok(())
/// # }
/// ```
///
Creates a `LocalConfig` with the current configuration.
Creates a ` LocalConfig ` with the current configuration .
pub fn build(&self) -> Result<LocalConfig, LocalInstallError> {
        let config = self
            .build_impl()
            .map_err(|err| LocalInstallError::MissingRequiredConfig(err.to_string()))?;
        Ok(config)
    }
pub fn build ( & self ) -> Result < LocalConfig , LocalInstallError > { let config = self . build_impl ( ) . map_err ( | err | LocalInstallError :: MissingRequiredConfig ( err . to_string ( ) ) ) ? ; Ok ( config ) }
Creates a `LocalConfig` with the current configuration.
Creates a ` LocalConfig ` with the current configuration .
&self
&self
example
The simplest flow to create a `ClusterConfig` looks like.


The simplest flow to create a ` ClusterConfig ` looks like .
use fluvio_cluster::{clustererror, localconfig};
None
fn example() -> result<(), clustererror> {
use semver::Version;
let config: LocalConfig = LocalConfig::builder(Version::parse("0.7.0-alpha.1").unwrap()).build()?.
use semver :: Version ; let config : LocalConfig = LocalConfig :: builder ( Version :: parse ( " 0 . 7 . 0 - alpha . 1 " ) . unwrap () ) . build () ? .
ok(())
None
}
None