Enum cbor_data::WhileParsing
source · pub enum WhileParsing {
ItemHeader,
HeaderValue,
ArrayItem,
DictItem,
BytesFragment,
BytesValue,
StringFragment,
StringValue,
}Expand description
What the parser was looking for when bytes ran out
Variants§
Trait Implementations§
source§impl Clone for WhileParsing
impl Clone for WhileParsing
source§fn clone(&self) -> WhileParsing
fn clone(&self) -> WhileParsing
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 WhileParsing
impl Debug for WhileParsing
source§impl PartialEq for WhileParsing
impl PartialEq for WhileParsing
source§fn eq(&self, other: &WhileParsing) -> bool
fn eq(&self, other: &WhileParsing) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for WhileParsing
impl Eq for WhileParsing
impl StructuralPartialEq for WhileParsing
Auto Trait Implementations§
impl Freeze for WhileParsing
impl RefUnwindSafe for WhileParsing
impl Send for WhileParsing
impl Sync for WhileParsing
impl Unpin for WhileParsing
impl UnwindSafe for WhileParsing
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