Enum forrustts::TablesError [−][src]
pub enum TablesError {}Show variants
InvalidGenomeLength, InvalidNodeValue { found: IdType, }, InvalidPosition { found: Position, }, InvalidLeftRight { found: (Position, Position), }, InvalidTime { found: Time, }, InvalidDeme { found: IdType, }, NullParent, NullChild, NodeOutOfBounds, NodeTimesUnordered, ParentTimesUnsorted, ParentsNotContiguous, EdgesNotSortedByChild, EdgesNotSortedByLeft, DuplicateEdges,
Error type related to TableCollection
Variants
Raised by TableCollection::new
.
Raised when invalid node ID
s are encountered.
Fields of InvalidNodeValue
found: IdType
The invalid ID
Raised when invalid positions are encountered.
Fields of InvalidPosition
found: Position
The invalid position
Raised when an Edge
’s left/right
values are invalid.
Raised when invalid times are encountered.
Fields of InvalidTime
found: Time
The invalid time
Raised with a deme’s ID
is invalid.
Fields of InvalidDeme
found: IdType
The invalide deme ID
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Can be raised by validate_edge_table
Trait Implementations
impl Debug for TablesError
[src]
impl Display for TablesError
[src]
impl Error for TablesError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<TablesError> for ForrusttsError
[src]
fn from(source: TablesError) -> Self
[src]
impl PartialEq<TablesError> for TablesError
[src]
fn eq(&self, other: &TablesError) -> bool
[src]
fn ne(&self, other: &TablesError) -> bool
[src]
impl StructuralPartialEq for TablesError
[src]
Auto Trait Implementations
impl RefUnwindSafe for TablesError
impl Send for TablesError
impl Sync for TablesError
impl Unpin for TablesError
impl UnwindSafe for TablesError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,