Enum ScriptedSchedulerCapability
pub enum ScriptedSchedulerCapability {
Nop,
Unsupported,
}Expand description
Scheduler behavior that the scripted CLI can reconstruct exactly in a new process.
The marker is deliberately narrow. Unsupported covers pruning, stateful,
custom, and legacy-ambiguous schedulers; the CLI must never substitute a
NopScheduler for any of those cases.
Variants§
Nop
The scheduler is exactly NopScheduler.
Unsupported
The scheduler cannot be reconstructed by scripted ask/tell.
Trait Implementations§
§impl Clone for ScriptedSchedulerCapability
impl Clone for ScriptedSchedulerCapability
§fn clone(&self) -> ScriptedSchedulerCapability
fn clone(&self) -> ScriptedSchedulerCapability
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 ScriptedSchedulerCapability
§impl Debug for ScriptedSchedulerCapability
impl Debug for ScriptedSchedulerCapability
§impl<'de> Deserialize<'de> for ScriptedSchedulerCapability
impl<'de> Deserialize<'de> for ScriptedSchedulerCapability
§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 ScriptedSchedulerCapability
§impl PartialEq for ScriptedSchedulerCapability
impl PartialEq for ScriptedSchedulerCapability
§impl Serialize for ScriptedSchedulerCapability
impl Serialize for ScriptedSchedulerCapability
impl StructuralPartialEq for ScriptedSchedulerCapability
Auto Trait Implementations§
impl Freeze for ScriptedSchedulerCapability
impl RefUnwindSafe for ScriptedSchedulerCapability
impl Send for ScriptedSchedulerCapability
impl Sync for ScriptedSchedulerCapability
impl Unpin for ScriptedSchedulerCapability
impl UnsafeUnpin for ScriptedSchedulerCapability
impl UnwindSafe for ScriptedSchedulerCapability
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