pub enum TrackFault {
EndOfTrackOutOfPlace(EndOfTrackPlacement),
PastFinalObject(ObjectLocation),
}Expand description
What went wrong with an object measured against its track’s record.
Two rules meet here and their answers are opposites — one ends the session, the other gives up a track and leaves the session alone — so they are told apart at the point of detection rather than at the point of reporting.
Variants§
EndOfTrackOutOfPlace(EndOfTrackPlacement)
An end-of-track object is not where the track ended.
PastFinalObject(ObjectLocation)
An object arrived past the track’s final object, carrying where the track ended so the report can name it.
Trait Implementations§
Source§impl Clone for TrackFault
impl Clone for TrackFault
Source§fn clone(&self) -> TrackFault
fn clone(&self) -> TrackFault
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrackFault
Source§impl Debug for TrackFault
impl Debug for TrackFault
impl Eq for TrackFault
Source§impl PartialEq for TrackFault
impl PartialEq for TrackFault
impl StructuralPartialEq for TrackFault
Auto Trait Implementations§
impl Freeze for TrackFault
impl RefUnwindSafe for TrackFault
impl Send for TrackFault
impl Sync for TrackFault
impl Unpin for TrackFault
impl UnsafeUnpin for TrackFault
impl UnwindSafe for TrackFault
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