pub enum NextAction<T>where
T: CustomTraversal,{
ReadPrefix {
expected_prefix: u8,
},
ReadRootValue,
ReadRootValueBody {
implicit_value_kind: ValueKind<<T as CustomTraversal>::CustomValueKind>,
},
ReadContainerContentStart {
container_header: ContainerHeader<T>,
container_start_offset: usize,
},
ReadNextChildOrExitContainer,
Errored,
Ended,
InProgressPlaceholder,
}
Variants§
ReadPrefix
ReadRootValue
ReadRootValueBody
Fields
§
implicit_value_kind: ValueKind<<T as CustomTraversal>::CustomValueKind>
ReadContainerContentStart
ReadNextChildOrExitContainer
The state which is put into after entering parent, and the default state to return to from below
Errored
Ended
InProgressPlaceholder
Impossible to observe this value
Trait Implementations§
Source§impl<T> Clone for NextAction<T>
impl<T> Clone for NextAction<T>
Source§fn clone(&self) -> NextAction<T>
fn clone(&self) -> NextAction<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<T> Debug for NextAction<T>
impl<T> Debug for NextAction<T>
impl<T> Copy for NextAction<T>
Auto Trait Implementations§
impl<T> Freeze for NextAction<T>
impl<T> RefUnwindSafe for NextAction<T>
impl<T> Send for NextAction<T>
impl<T> Sync for NextAction<T>
impl<T> Unpin for NextAction<T>
impl<T> UnwindSafe for NextAction<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