#[non_exhaustive]pub enum OpenRunPolicy {
UseExisting,
Fail,
}Expand description
What an open run means for the intake (the start’s duplicate_policy).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UseExisting
Signal the open run (use-existing, the default). Its input,
deadlines and history are unchanged.
Fail
Refuse an open run with instance_already_started (fail).
Implementations§
Trait Implementations§
Source§impl Clone for OpenRunPolicy
impl Clone for OpenRunPolicy
impl Copy for OpenRunPolicy
Source§impl Debug for OpenRunPolicy
impl Debug for OpenRunPolicy
Source§impl Default for OpenRunPolicy
impl Default for OpenRunPolicy
impl Eq for OpenRunPolicy
Source§impl PartialEq for OpenRunPolicy
impl PartialEq for OpenRunPolicy
impl StructuralPartialEq for OpenRunPolicy
Auto Trait Implementations§
impl Forget for OpenRunPolicy
impl Freeze for OpenRunPolicy
impl Move for OpenRunPolicy
impl RefUnwindSafe for OpenRunPolicy
impl Send for OpenRunPolicy
impl Sync for OpenRunPolicy
impl Unpin for OpenRunPolicy
impl UnsafeUnpin for OpenRunPolicy
impl UnwindSafe for OpenRunPolicy
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