[−][src]Enum outils::tree::generic::error::TreeErrorType
Enum to refer to error situations that commonly occur in forest operations.
Variants
A node index was passed to an operation but did not refer to a valid node.
Fields of InvalidNodeIndex
node: NodeIndex<Ix>
The node index that was passed to the operation.
An operation is only defined for root nodes, but an invalid node index or a node index referring to a non-tree node was passed to the operation.
Fields of ExpectedRootNode
node: NodeIndex<Ix>
The node index that was passed to operation.
An operation is only defined for forest nodes that are not part of the same forest tree, but the nodes passed to this operation are already in a ancestor/descendant relation.
Fields of ExpectedNonAncestorNode
Summary error type, which can be used in other error situations which do not have a direct relation to defined operations of a forest.
Fields of OtherError
msg: String
Description of the particular error situation.
Trait Implementations
impl<Ix: Clone> Clone for TreeErrorType<Ix>
[src]
fn clone(&self) -> TreeErrorType<Ix>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Ix: Debug> Debug for TreeErrorType<Ix>
[src]
Auto Trait Implementations
impl<Ix> RefUnwindSafe for TreeErrorType<Ix> where
Ix: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<Ix> Send for TreeErrorType<Ix> where
Ix: Send,
Ix: Send,
impl<Ix> Sync for TreeErrorType<Ix> where
Ix: Sync,
Ix: Sync,
impl<Ix> Unpin for TreeErrorType<Ix> where
Ix: Unpin,
Ix: Unpin,
impl<Ix> UnwindSafe for TreeErrorType<Ix> where
Ix: UnwindSafe,
Ix: UnwindSafe,
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,