pub enum JobPolicy {
Basic(JobPolicyOption, Vec<(JobCondition, JobAction)>),
TimerSlack(MonotonicDuration, JobDefaultTimerMode),
}
Expand description
Holds a timer policy or a basic policy set for zx_job_set_policy
Variants§
Basic(JobPolicyOption, Vec<(JobCondition, JobAction)>)
TimerSlack(MonotonicDuration, JobDefaultTimerMode)
Trait Implementations§
impl StructuralPartialEq for JobPolicy
Auto Trait Implementations§
impl Freeze for JobPolicy
impl RefUnwindSafe for JobPolicy
impl Send for JobPolicy
impl Sync for JobPolicy
impl Unpin for JobPolicy
impl UnwindSafe for JobPolicy
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