pub enum UnhandledKind {
NotFound,
Composite,
Variant,
Sequence,
Array,
Tuple,
Primitive,
Compact,
BitSequence,
}
Expand description
If any of the ResolvedTypeVisitor
methods are not implemented, then
ResolvedTypeVisitor::visit_unhandled()
is called, and given an instance of this enum to
denote which method was unhandled.
Variants§
Trait Implementations§
Source§impl Clone for UnhandledKind
impl Clone for UnhandledKind
Source§fn clone(&self) -> UnhandledKind
fn clone(&self) -> UnhandledKind
Returns a copy 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 Debug for UnhandledKind
impl Debug for UnhandledKind
Source§impl PartialEq for UnhandledKind
impl PartialEq for UnhandledKind
impl Copy for UnhandledKind
impl Eq for UnhandledKind
impl StructuralPartialEq for UnhandledKind
Auto Trait Implementations§
impl Freeze for UnhandledKind
impl RefUnwindSafe for UnhandledKind
impl Send for UnhandledKind
impl Sync for UnhandledKind
impl Unpin for UnhandledKind
impl UnwindSafe for UnhandledKind
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