pub fn new(
        role: Role,
        path: impl Into<PathBuf>,
        artifact_cache: impl Into<PathBuf>,
        options: HashMap<String, serde_json::Value>,
    ) -> Self {
        Self {
            role,
            path: path.into(),
            artifact_cache: artifact_cache.into(),
            // The rest should be configured via setters below...
            max_heap_memory_size: defaults::HEAP_MEMORY_SIZE,
            options,
        }
    }
/// Build a new configuration with the required options set.
Build a new configuration with the required options set.
Build a new configuration with the required options set .
pub fn new(
        role: Role,
        path: impl Into<PathBuf>,
        artifact_cache: impl Into<PathBuf>,
        options: HashMap<String, serde_json::Value>,
    ) -> Self {
        Self {
            role,
            path: path.into(),
            artifact_cache: artifact_cache.into(),
            // The rest should be configured via setters below...
            max_heap_memory_size: defaults::HEAP_MEMORY_SIZE,
            options,
        }
    }
pub fn new ( role : Role , path : impl Into < PathBuf > , artifact_cache : impl Into < PathBuf > , options : HashMap < String , serde_json :: Value > , ) -> Self { Self { role , path : path . into ( ) , artifact_cache : artifact_cache . into ( ) , // The rest should be configured via setters below... max_heap_memory_size : defaults :: HEAP_MEMORY_SIZE , options , } }
Build a new configuration with the required options set.
Build a new configuration with the required options set .
role
Role
path
impl Into<PathBuf>
artifact_cache
impl Into<PathBuf>
options
HashMap<String, serde_json::Value>