pub enum PreflightObjection {
Insufficient {
marks: Option<Vec<UnverifiedMark>>,
need: PreflightNeed,
remaining_g: f64,
spool: PreflightSpool,
},
UnverifiedSpool {
marks: Vec<UnverifiedMark>,
need: Option<PreflightNeed>,
remaining_g: f64,
spool: PreflightSpool,
},
NoAnalysis {
remaining_g: f64,
spool: PreflightSpool,
},
}Expand description
What a check that refuses a start found for one tool.
Variants§
Insufficient
The spool holds less than the print needs and its buffer.
Fields
§
marks: Option<Vec<UnverifiedMark>>The spool’s marks at the check, oldest first, so a spool both short and unverified says both.
§
need: PreflightNeedWhat the print needs from it.
§
spool: PreflightSpoolThe spool.
UnverifiedSpool
The spool’s figure is in doubt.
Fields
§
marks: Vec<UnverifiedMark>Every reason the spool’s figure is in doubt, oldest first; never empty.
§
need: Option<PreflightNeed>What the print needs from it, when the file’s analysis says.
§
spool: PreflightSpoolThe spool.
NoAnalysis
The file has no analysis, so what the spool must hold is unknown.
Trait Implementations§
Source§impl Clone for PreflightObjection
impl Clone for PreflightObjection
Source§impl Debug for PreflightObjection
impl Debug for PreflightObjection
Source§impl<'de> Deserialize<'de> for PreflightObjection
impl<'de> Deserialize<'de> for PreflightObjection
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 PreflightObjection
impl PartialEq for PreflightObjection
Source§impl Serialize for PreflightObjection
impl Serialize for PreflightObjection
impl StructuralPartialEq for PreflightObjection
Auto Trait Implementations§
impl Freeze for PreflightObjection
impl RefUnwindSafe for PreflightObjection
impl Send for PreflightObjection
impl Sync for PreflightObjection
impl Unpin for PreflightObjection
impl UnsafeUnpin for PreflightObjection
impl UnwindSafe for PreflightObjection
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