pub enum JobType {
Start,
VerifyActive,
Stop,
Reload,
Restart,
TryRestart,
ReloadOrStart,
}Expand description
The type of a job.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobType
impl<'de> Deserialize<'de> for JobType
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
Source§impl<'a> From<&'a JobType> for OwnedValue
impl<'a> From<&'a JobType> for OwnedValue
Source§impl From<JobType> for OwnedValue
impl From<JobType> for OwnedValue
Source§impl Ord for JobType
impl Ord for JobType
Source§impl PartialOrd for JobType
impl PartialOrd for JobType
Source§impl TryFrom<OwnedValue> for JobType
impl TryFrom<OwnedValue> for JobType
impl Copy for JobType
impl Eq for JobType
impl StructuralPartialEq for JobType
Auto Trait Implementations§
impl Freeze for JobType
impl RefUnwindSafe for JobType
impl Send for JobType
impl Sync for JobType
impl Unpin for JobType
impl UnwindSafe for JobType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.