pub enum DoctorCore {
Raised,
HeldBySetting,
Refused {
said: String,
},
LoweredByValve,
Unasked {
said: String,
},
}Expand description
The level this machine gives the core’s threads under the person’s
setting (crates/sprawling/Spec.lean §8-93). The dispatched commands are not here:
they always start one level below, and lowering is never refused.
Variants§
Raised
One step above normal.
HeldBySetting
Normal, because the person’s [core] priority asks for it.
Refused
Normal, because the platform refused the raise; said is the
platform’s own words.
LoweredByValve
Normal, lowered after keeping a core busy.
Unasked
The doctor could not ask; said is why.
Trait Implementations§
Source§impl Clone for DoctorCore
impl Clone for DoctorCore
Source§impl Debug for DoctorCore
impl Debug for DoctorCore
Source§impl<'de> Deserialize<'de> for DoctorCore
impl<'de> Deserialize<'de> for DoctorCore
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
impl Eq for DoctorCore
Source§impl PartialEq for DoctorCore
impl PartialEq for DoctorCore
Source§impl Serialize for DoctorCore
impl Serialize for DoctorCore
impl StructuralPartialEq for DoctorCore
Auto Trait Implementations§
impl Freeze for DoctorCore
impl RefUnwindSafe for DoctorCore
impl Send for DoctorCore
impl Sync for DoctorCore
impl Unpin for DoctorCore
impl UnsafeUnpin for DoctorCore
impl UnwindSafe for DoctorCore
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