pub struct FileNotFoundError { /* private fields */ }Expand description
Error returned by preprocess or preprocess_with_source_tracker when an included file path cannot be resolved to a file.
See also Error.
Implementations§
Source§impl FileNotFoundError
impl FileNotFoundError
Sourcepub fn included_path(&self) -> &Path
pub fn included_path(&self) -> &Path
The path the preprocessor tried and failed to resolve.
Sourcepub fn source_file(&self) -> &Path
pub fn source_file(&self) -> &Path
The path of the file that contains the #include directive the preprocessor tried to
resolve.
Sourcepub fn source(&self) -> &str
pub fn source(&self) -> &str
The text of the file that contains the #include directive the preprocessor tried to
resolve.
Sourcepub fn line_number(&self) -> usize
pub fn line_number(&self) -> usize
The line number of the #include directive the preprocessor tried to resolve.
Trait Implementations§
Source§impl Debug for FileNotFoundError
impl Debug for FileNotFoundError
Source§impl From<FileNotFoundError> for Error
impl From<FileNotFoundError> for Error
Source§fn from(err: FileNotFoundError) -> Self
fn from(err: FileNotFoundError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileNotFoundError
impl RefUnwindSafe for FileNotFoundError
impl Send for FileNotFoundError
impl Sync for FileNotFoundError
impl Unpin for FileNotFoundError
impl UnwindSafe for FileNotFoundError
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