pub enum ActionKind {
Show 16 variants
Pause,
Resume,
Cancel,
StartPrint,
SetFeedrateFactor,
SetFlowrateFactor,
SetToolTargetC,
SetBedTargetC,
SetFanPercent,
AcknowledgeFailure,
ClosePrint,
RegisterSpool,
LoadSpool,
UnloadSpool,
AdjustSpool,
RetireSpool,
}Expand description
One action of the closed vocabulary, named without its payload.
This is what a safety envelope grants and what a policy rejection names;
the
payload lives on PrintAction itself.
Variants§
Pause
Pause the print.
Resume
Resume the print.
Cancel
Cancel the print.
StartPrint
Start a print of a named file.
SetFeedrateFactor
Set the feedrate factor.
SetFlowrateFactor
Set the flowrate factor.
SetToolTargetC
Set a tool’s target temperature.
SetBedTargetC
Set the bed’s target temperature.
SetFanPercent
Set the fan percentage.
AcknowledgeFailure
Acknowledge a failure event.
ClosePrint
Close a print record printobserver left open.
RegisterSpool
Register a spool.
LoadSpool
Load a spool onto a tool.
UnloadSpool
Unload a spool from its tool.
AdjustSpool
Correct a spool’s remaining figure.
RetireSpool
Retire a spool.
Trait Implementations§
Source§impl Clone for ActionKind
impl Clone for ActionKind
impl Copy for ActionKind
Source§impl Debug for ActionKind
impl Debug for ActionKind
Source§impl<'de> Deserialize<'de> for ActionKind
impl<'de> Deserialize<'de> for ActionKind
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 ActionKind
Source§impl PartialEq for ActionKind
impl PartialEq for ActionKind
Source§impl Serialize for ActionKind
impl Serialize for ActionKind
impl StructuralPartialEq for ActionKind
Auto Trait Implementations§
impl Freeze for ActionKind
impl RefUnwindSafe for ActionKind
impl Send for ActionKind
impl Sync for ActionKind
impl Unpin for ActionKind
impl UnsafeUnpin for ActionKind
impl UnwindSafe for ActionKind
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