pub struct InconsistentHistory<'a, T> {
pub first: Option<&'a WengertList<T>>,
pub later: Option<&'a WengertList<T>>,
}
Expand description
An error due to trying to create a RecordContainer with record data that has more than one history. Since RecordContainer stores the history once for all records it contains, it cannot support constants + variables or variables from multiple WengertLists.
Fields§
§first: Option<&'a WengertList<T>>
§later: Option<&'a WengertList<T>>
Trait Implementations§
Source§impl<'a, T: Clone> Clone for InconsistentHistory<'a, T>
impl<'a, T: Clone> Clone for InconsistentHistory<'a, T>
Source§fn clone(&self) -> InconsistentHistory<'a, T>
fn clone(&self) -> InconsistentHistory<'a, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, T: Debug> Debug for InconsistentHistory<'a, T>
impl<'a, T: Debug> Debug for InconsistentHistory<'a, T>
Source§impl<'a, T> Display for InconsistentHistory<'a, T>where
T: Debug,
impl<'a, T> Display for InconsistentHistory<'a, T>where
T: Debug,
Source§impl<'a, T> Error for InconsistentHistory<'a, T>where
T: Debug,
impl<'a, T> Error for InconsistentHistory<'a, T>where
T: Debug,
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<'a, T> Freeze for InconsistentHistory<'a, T>
impl<'a, T> !RefUnwindSafe for InconsistentHistory<'a, T>
impl<'a, T> !Send for InconsistentHistory<'a, T>
impl<'a, T> !Sync for InconsistentHistory<'a, T>
impl<'a, T> Unpin for InconsistentHistory<'a, T>
impl<'a, T> !UnwindSafe for InconsistentHistory<'a, T>
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