pub enum RecoveryAction {
RecoverLift {
mm: f64,
},
RecoverCool,
RecoverFan {
percent: f64,
},
RecoverHeat {
clearance_asserted: Option<bool>,
target_c: f64,
tool: i64,
},
RecoverPark {
clearance_asserted: Option<bool>,
},
RecoverHomeXy {
clearance_asserted: Option<bool>,
},
RecoverHomeZ {
bed_clear_asserted: Option<bool>,
},
}Expand description
The whole recovery vocabulary, and there is no other.
The two assertions are the operator’s word for what printobserver cannot
see: clearance_asserted that the nozzle is clear of the part, and
bed_clear_asserted that homing Z will meet nothing on the bed. Each is
false when left out.
Variants§
RecoverLift
Move the nozzle away from the bed by mm.
RecoverCool
Set every heater’s target to zero.
RecoverFan
Set the part-cooling fan.
RecoverHeat
Heat one tool, within the safety envelope’s range for it.
Fields
RecoverPark
Move the head to recovery.park_xy.
RecoverHomeXy
Home X and Y.
RecoverHomeZ
Home Z.
Trait Implementations§
Source§impl Clone for RecoveryAction
impl Clone for RecoveryAction
Source§impl Debug for RecoveryAction
impl Debug for RecoveryAction
Source§impl<'de> Deserialize<'de> for RecoveryAction
impl<'de> Deserialize<'de> for RecoveryAction
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 PartialEq for RecoveryAction
impl PartialEq for RecoveryAction
Source§impl Serialize for RecoveryAction
impl Serialize for RecoveryAction
impl StructuralPartialEq for RecoveryAction
Auto Trait Implementations§
impl Freeze for RecoveryAction
impl RefUnwindSafe for RecoveryAction
impl Send for RecoveryAction
impl Sync for RecoveryAction
impl Unpin for RecoveryAction
impl UnsafeUnpin for RecoveryAction
impl UnwindSafe for RecoveryAction
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