pub struct DeploymentSupervisorConfig { /* private fields */ }Expand description
Installation-owned supervisor settings.
Implementations§
Source§impl DeploymentSupervisorConfig
impl DeploymentSupervisorConfig
Sourcepub fn new(watchdog: DeploymentWatchdogConfig) -> Self
pub fn new(watchdog: DeploymentWatchdogConfig) -> Self
Creates supervisor settings from watchdog policy.
Sourcepub fn watchdog(self) -> DeploymentWatchdogConfig
pub fn watchdog(self) -> DeploymentWatchdogConfig
Returns watchdog settings.
Trait Implementations§
Source§impl Clone for DeploymentSupervisorConfig
impl Clone for DeploymentSupervisorConfig
Source§fn clone(&self) -> DeploymentSupervisorConfig
fn clone(&self) -> DeploymentSupervisorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeploymentSupervisorConfig
Source§impl Debug for DeploymentSupervisorConfig
impl Debug for DeploymentSupervisorConfig
Source§impl Default for DeploymentSupervisorConfig
impl Default for DeploymentSupervisorConfig
Source§fn default() -> DeploymentSupervisorConfig
fn default() -> DeploymentSupervisorConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentSupervisorConfigwhere
DeploymentSupervisorConfig: Default,
impl<'de> Deserialize<'de> for DeploymentSupervisorConfigwhere
DeploymentSupervisorConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DeploymentSupervisorConfig
impl StructuralPartialEq for DeploymentSupervisorConfig
Auto Trait Implementations§
impl Freeze for DeploymentSupervisorConfig
impl RefUnwindSafe for DeploymentSupervisorConfig
impl Send for DeploymentSupervisorConfig
impl Sync for DeploymentSupervisorConfig
impl Unpin for DeploymentSupervisorConfig
impl UnsafeUnpin for DeploymentSupervisorConfig
impl UnwindSafe for DeploymentSupervisorConfig
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