pub struct LifecycleConfig {
pub state_path: PathBuf,
pub pidfile_path: PathBuf,
pub data_root: PathBuf,
pub upstreams: Vec<Upstream>,
pub foreground: bool,
}Fields§
§state_path: PathBuf§pidfile_path: PathBuf§data_root: PathBuf§upstreams: Vec<Upstream>§foreground: boolImplementations§
Source§impl LifecycleConfig
impl LifecycleConfig
pub fn from_storage(storage: &ConfigStorage, foreground: bool) -> Result<Self>
Auto Trait Implementations§
impl Freeze for LifecycleConfig
impl RefUnwindSafe for LifecycleConfig
impl Send for LifecycleConfig
impl Sync for LifecycleConfig
impl Unpin for LifecycleConfig
impl UnsafeUnpin for LifecycleConfig
impl UnwindSafe for LifecycleConfig
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