pub enum ReconcilePolicy {
AppendOnly,
ReplayWindow {
positions: usize,
},
InvalidateAffectedZones,
Strict,
}Expand description
What to do with input that is not a plain append (late arrivals and corrected revisions).
Variants§
AppendOnly
Append new sequences only. Late arrivals and corrections are ignored (with a warning). Gaps are accepted.
ReplayWindow
Like AppendOnly, but a late arrival or a correction within the last positions positions rewinds the session
to that position (Command::ResetFrom) and replays the corrected/inserted set and every later set.
Older ones are ignored. Costs memory for positions + 1 rewind points.
InvalidateAffectedZones
A correction keeps the registered geometry and rebuilds the outputs (preview and refined clouds) of every
arrived zone containing the position, with the corrected pixels (Command::InvalidateZone). The corrected
frame is stored under the original image name; features, matches and poses are not recomputed and GPS fixes of
the correction are not applied (use ReplayWindow for those). Late arrivals are ignored.
Strict
Accept only the exact next sequence; everything else (gap, late, correction, foreign source) is an error.
Trait Implementations§
Source§impl Clone for ReconcilePolicy
impl Clone for ReconcilePolicy
impl Copy for ReconcilePolicy
Source§impl Debug for ReconcilePolicy
impl Debug for ReconcilePolicy
Source§impl Default for ReconcilePolicy
impl Default for ReconcilePolicy
impl Eq for ReconcilePolicy
Source§impl PartialEq for ReconcilePolicy
impl PartialEq for ReconcilePolicy
impl StructuralPartialEq for ReconcilePolicy
Auto Trait Implementations§
impl Freeze for ReconcilePolicy
impl RefUnwindSafe for ReconcilePolicy
impl Send for ReconcilePolicy
impl Sync for ReconcilePolicy
impl Unpin for ReconcilePolicy
impl UnsafeUnpin for ReconcilePolicy
impl UnwindSafe for ReconcilePolicy
Blanket Implementations§
impl<T> Boilerplate for T
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,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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> Pointable for T
impl<T> Pointable for T
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.