pub enum PrintOutcome {
Completed,
Cancelled,
Failed,
Interrupted,
}Expand description
How a print ended.
Variants§
Completed
It ran to its end.
Cancelled
Somebody cancelled it.
Failed
It stopped on an error.
Interrupted
It stopped with no cancel, no error the printer reported and no finish. Charged as a failed print is: what the file’s moves extruded up to the last file position seen.
Trait Implementations§
Source§impl Clone for PrintOutcome
impl Clone for PrintOutcome
impl Copy for PrintOutcome
Source§impl Debug for PrintOutcome
impl Debug for PrintOutcome
Source§impl<'de> Deserialize<'de> for PrintOutcome
impl<'de> Deserialize<'de> for PrintOutcome
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 PrintOutcome
Source§impl PartialEq for PrintOutcome
impl PartialEq for PrintOutcome
Source§impl Serialize for PrintOutcome
impl Serialize for PrintOutcome
impl StructuralPartialEq for PrintOutcome
Auto Trait Implementations§
impl Freeze for PrintOutcome
impl RefUnwindSafe for PrintOutcome
impl Send for PrintOutcome
impl Sync for PrintOutcome
impl Unpin for PrintOutcome
impl UnsafeUnpin for PrintOutcome
impl UnwindSafe for PrintOutcome
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