pub enum WholeFrameReason {
Show 17 variants
NoPrint,
NoCalibration,
NoStream,
NoPosition,
NoObject,
NoLayer,
ToolpathUnread(String),
AlignmentPending,
AlignmentInconclusive(InconclusiveReason),
AlignmentUnavailable,
AlignmentFailed(AlignmentFailure),
LandmarksNotFound(String),
ViewRefitRejected(String),
CalibrationStale,
FrameMismatch(String),
Paused,
Refused(ComposeError),
}Expand description
Why a check is shown the whole frame rather than the three-panel image.
Variants§
NoPrint
No print is named: a look at the printer, before, between or after prints, a start’s bed check among them.
NoCalibration
No camera calibration is configured.
NoStream
No camera snapshot address is configured, so the frame’s stream is unknown.
NoPosition
The job is not the print’s file, reported no position, or its file has no index.
NoObject
The print’s G-code names no extruded object, or none laid yet, at the check’s file position.
NoLayer
It names no layer there.
ToolpathUnread(String)
The layer’s planned toolpath could not be read from the print’s spool.
AlignmentPending
The print’s first-layer alignment is not decided yet.
AlignmentInconclusive(InconclusiveReason)
The frame the print’s first-layer alignment was last judged on could not tell where the layer lies; a later check’s is judged again.
The print’s G-code lays no object to align.
AlignmentFailed(AlignmentFailure)
The print’s first-layer alignment failed.
LandmarksNotFound(String)
Fewer than two landmarks are found, so whether the camera shifted is unknown.
ViewRefitRejected(String)
The camera moved since the print’s correction was taken.
CalibrationStale
The landmarks show the camera has moved since its calibration, so the plan cannot be drawn reliably on its frames, whatever correction a pass took: a translation cannot repair a camera that has turned.
FrameMismatch(String)
The frame is not the calibration’s size or stream.
Paused
The printer reports the print paused, its bed moved off the plan’s height.
Refused(ComposeError)
The composer refused this frame.
Implementations§
Source§impl WholeFrameReason
impl WholeFrameReason
Sourcepub const fn code(&self) -> WholeFrameReasonCode
pub const fn code(&self) -> WholeFrameReasonCode
The reason as a code.
Trait Implementations§
Source§impl Clone for WholeFrameReason
impl Clone for WholeFrameReason
Source§impl Debug for WholeFrameReason
impl Debug for WholeFrameReason
Source§impl Display for WholeFrameReason
impl Display for WholeFrameReason
Source§impl PartialEq for WholeFrameReason
impl PartialEq for WholeFrameReason
impl StructuralPartialEq for WholeFrameReason
Auto Trait Implementations§
impl Forget for WholeFrameReason
impl Freeze for WholeFrameReason
impl Move for WholeFrameReason
impl RefUnwindSafe for WholeFrameReason
impl Send for WholeFrameReasonwhere
RawVecInner: Send,
impl Sync for WholeFrameReasonwhere
RawVecInner: Sync,
impl Unpin for WholeFrameReason
impl UnsafeUnpin for WholeFrameReason
impl UnwindSafe for WholeFrameReasonwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.