pub struct Incomplete<T> {
pub parsed: T,
pub syn_error: Error,
}
Expand description
Signifies that parser
did not consume all of input
in a call2_strict
call.
Fields§
§parsed: T
The parsed instance.
syn_error: Error
The Error
raised because not all input was parsed.
Trait Implementations§
Source§impl<T: Clone> Clone for Incomplete<T>
impl<T: Clone> Clone for Incomplete<T>
Source§fn clone(&self) -> Incomplete<T>
fn clone(&self) -> Incomplete<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> Debug for Incomplete<T>
impl<T: Debug> Debug for Incomplete<T>
Source§impl<T> Display for Incomplete<T>
impl<T> Display for Incomplete<T>
Source§impl<T: Debug> Error for Incomplete<T>
impl<T: Debug> Error for Incomplete<T>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<T> Freeze for Incomplete<T>where
T: Freeze,
impl<T> RefUnwindSafe for Incomplete<T>where
T: RefUnwindSafe,
impl<T> Send for Incomplete<T>where
T: Send,
impl<T> Sync for Incomplete<T>where
T: Sync,
impl<T> Unpin for Incomplete<T>where
T: Unpin,
impl<T> UnwindSafe for Incomplete<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