Skip to main content

RecoveryStatusAnswer

Type Alias RecoveryStatusAnswer 

Source
pub type RecoveryStatusAnswer = RecoveryStatus;
Expand description

What the recovery read answers: everything a recovery is checked against now, as the supervision core reads it.

Aliased Type§

pub struct RecoveryStatusAnswer {
    pub state: PrinterState,
    pub z_trust: ZTrust,
    pub position: Option<RecoveryPosition>,
    pub temperatures: RecoveryTemperatures,
    pub last_print: Option<LastPrint>,
    pub paused_print: Option<PausedPrint>,
    pub z_home: Option<ZHome>,
    pub actions: Vec<ActionAllowance>,
}

Fields§

§state: PrinterState

The state the printer reports; offline when it could not be read.

§z_trust: ZTrust

Whether Z is trusted.

§position: Option<RecoveryPosition>

Where the head is, read only while Z is trusted; null otherwise or when it could not be read.

§temperatures: RecoveryTemperatures

Every heater.

§last_print: Option<LastPrint>

What the last print laid down, null when there is no print with a file to read or its file could not be read.

§paused_print: Option<PausedPrint>

The print paused under the printer, null when none is.

§z_home: Option<ZHome>

Where Z is homed and whether that sweeps the bed, null when recovery is not configured.

§actions: Vec<ActionAllowance>

Each action, and whether it is allowed now.