Enum savefile::IntrospectionError [−][src]
pub enum IntrospectionError { BadDepth, UnknownKey, NoChildren, IndexOutOfRange, AlreadyAtTop, }
Expand description
Ways in which introspection may fail
Variants
The given depth value is invalid. At start of introspection, max depth value is 0, and fields of the root object are introspected. If a field is selected, a new level is expanded and max depth value is 1.
The given key was not found
An attempt was made to select/expand a node which has no children.
An attempt was made to select/expand a child with an index greater or equal to the number of children.
An attempt was made to back up when already at the top.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IntrospectionError
impl Send for IntrospectionError
impl Sync for IntrospectionError
impl Unpin for IntrospectionError
impl UnwindSafe for IntrospectionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V