Enum cargo_platform::ParseErrorKind
source · [−]pub enum ParseErrorKind {
UnterminatedString,
UnexpectedChar(char),
UnexpectedToken {
expected: &'static str,
found: &'static str,
},
IncompleteExpr(&'static str),
UnterminatedExpression(String),
InvalidTarget(String),
// some variants omitted
}
Variants
UnterminatedString
UnexpectedChar(char)
UnexpectedToken
IncompleteExpr(&'static str)
UnterminatedExpression(String)
InvalidTarget(String)
Trait Implementations
sourceimpl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more