pub struct Judged {
pub records: Vec<EventBody>,
pub alignment: PrintAlignment,
pub correction: Option<ViewCorrection>,
pub view: Option<(ViewOutcome, Option<String>)>,
pub rejected: Option<String>,
pub mismatch: Option<String>,
pub unreadable: Option<String>,
pub inconclusive: Option<InconclusiveReason>,
}Expand description
What one judgement of a frame decided, and the records it owes.
Fields§
§records: Vec<EventBody>The records to append, in order, each naming the frame.
alignment: PrintAlignmentThe print’s alignment once judged.
correction: Option<ViewCorrection>The correction the frame may be drawn through, when the alignment passed and the view allows it.
view: Option<(ViewOutcome, Option<String>)>The view’s outcome and its refusal’s reason; nothing when the frame was not judged for its view.
rejected: Option<String>Why the correction in force was given up on this frame: the camera moved again.
mismatch: Option<String>Why the frame is not the calibration’s size or stream.
unreadable: Option<String>Why the frame could not be read at all.
inconclusive: Option<InconclusiveReason>Why the alignment was left pending, when the frame judged last was inconclusive.
Implementations§
Source§impl Judged
impl Judged
Sourcepub fn nothing_to_judge(
alignment: PrintAlignment,
kept_with: Option<EventBody>,
) -> Self
pub fn nothing_to_judge( alignment: PrintAlignment, kept_with: Option<EventBody>, ) -> Self
Nothing that could be judged of a frame — no calibration, or no stream it was fitted on — the alignment standing as it is, and the one record the frame is kept with.
Trait Implementations§
impl StructuralPartialEq for Judged
Auto Trait Implementations§
impl Forget for Judged
impl Freeze for Judgedwhere
*const u8 is !null: Freeze,
PhantomData<EventBody>: Freeze,
PhantomData<ReferenceLandmark>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Judged
impl RefUnwindSafe for Judged
impl Send for Judged
impl Sync for Judged
impl Unpin for Judged
impl UnsafeUnpin for Judgedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<EventBody>: UnsafeUnpin,
PhantomData<ReferenceLandmark>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Judged
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.