pub enum SourceInfoErrorType {
LintWarning,
DeprecationWarning,
Unrecoverable,
}
Expand description
A SourceInfoError
type.
Provides context for the severity of a SourceInfoError
.
The type of “error” that has occurred.
Variants§
LintWarning
A simple linter error type. Can be ignored but should be fixed.
DeprecationWarning
Something changed in the SRCINFO format and this should be removed for future compatibility.
Unrecoverable
A hard unrecoverable logic error has been detected. The returned SourceInfo representation is faulty and should not be used.
Trait Implementations§
Source§impl Clone for SourceInfoErrorType
impl Clone for SourceInfoErrorType
Source§fn clone(&self) -> SourceInfoErrorType
fn clone(&self) -> SourceInfoErrorType
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 moreAuto Trait Implementations§
impl Freeze for SourceInfoErrorType
impl RefUnwindSafe for SourceInfoErrorType
impl Send for SourceInfoErrorType
impl Sync for SourceInfoErrorType
impl Unpin for SourceInfoErrorType
impl UnwindSafe for SourceInfoErrorType
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