pub enum Restart {
No,
Always,
OnFailure,
UnlessStopped,
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Restart
impl<'de> Deserialize<'de> for Restart
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
Auto Trait Implementations§
impl Freeze for Restart
impl RefUnwindSafe for Restart
impl Send for Restart
impl Sync for Restart
impl Unpin for Restart
impl UnwindSafe for Restart
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