pub enum Status<T> {
Complete(T),
Partial,
}Expand description
Result of parsing input that may be incomplete.
Variants§
Trait Implementations§
impl<T: Copy> Copy for Status<T>
impl<T: Eq> Eq for Status<T>
impl<T: PartialEq> StructuralPartialEq for Status<T>
Auto Trait Implementations§
impl<T> Forget for Status<T>
impl<T> Freeze for Status<T>where
T: Freeze,
impl<T> Move for Status<T>
impl<T> RefUnwindSafe for Status<T>where
T: RefUnwindSafe,
impl<T> Send for Status<T>where
T: Send,
impl<T> Sync for Status<T>where
T: Sync,
impl<T> Unpin for Status<T>where
T: Unpin,
impl<T> UnsafeUnpin for Status<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Status<T>where
T: UnwindSafe,
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