#[non_exhaustive]pub enum ReadWarning {
EmptyFile {
path: PathBuf,
},
NoModuleAttribute {
path: PathBuf,
},
ConflictingModuleAttribute {
path: PathBuf,
first: ModuleName,
second: ModuleName,
},
UnsupportedQuotedModuleName {
path: PathBuf,
raw: String,
},
AmbiguousApplicationAssignment {
path: PathBuf,
candidates: Vec<String>,
},
DuplicateModuleAcrossApplications {
name: ModuleName,
first_application: Option<String>,
second_application: Option<String>,
},
UnresolvedInclude {
path: PathBuf,
target: PathBuf,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EmptyFile
NoModuleAttribute
ConflictingModuleAttribute
UnsupportedQuotedModuleName
AmbiguousApplicationAssignment
DuplicateModuleAcrossApplications
UnresolvedInclude
Trait Implementations§
Source§impl Clone for ReadWarning
impl Clone for ReadWarning
Source§fn clone(&self) -> ReadWarning
fn clone(&self) -> ReadWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadWarning
impl Debug for ReadWarning
impl Eq for ReadWarning
Source§impl PartialEq for ReadWarning
impl PartialEq for ReadWarning
impl StructuralPartialEq for ReadWarning
Auto Trait Implementations§
impl Freeze for ReadWarning
impl RefUnwindSafe for ReadWarning
impl Send for ReadWarning
impl Sync for ReadWarning
impl Unpin for ReadWarning
impl UnsafeUnpin for ReadWarning
impl UnwindSafe for ReadWarning
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