pub struct RawConfig {
pub ghidra_install_dir: Option<String>,
pub project_dir: Option<String>,
pub project_name: Option<String>,
pub bootstrap_program: Option<String>,
pub bootstrap_program_path: Option<String>,
pub max_heap: Option<String>,
}Expand description
Raw, unresolved inputs (already merged by precedence upstream in resolve).
Fields§
§ghidra_install_dir: Option<String>§project_dir: Option<String>§project_name: Option<String>§bootstrap_program: Option<String>§bootstrap_program_path: Option<String>§max_heap: Option<String>Implementations§
Source§impl RawConfig
impl RawConfig
Sourcepub fn resolve(self) -> Result<ServerConfig, ConfigError>
pub fn resolve(self) -> Result<ServerConfig, ConfigError>
Validate + fill defaults, producing a ServerConfig. Path existence is checked so a boot never
crash-loops on a misconfig (spec §7).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawConfig
impl RefUnwindSafe for RawConfig
impl Send for RawConfig
impl Sync for RawConfig
impl Unpin for RawConfig
impl UnsafeUnpin for RawConfig
impl UnwindSafe for RawConfig
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