#[non_exhaustive]pub enum TexmfError {
NoRoot {
message: String,
},
Index {
path: PathBuf,
message: String,
},
EmptyIndex {
path: PathBuf,
},
}Expand description
Why a TeX Live tree could not be opened.
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.
NoRoot
No root was configured or discoverable.
Index
The ls-R index could not be read, mktexlsr writes it.
EmptyIndex
The ls-R index lists no files.
Trait Implementations§
Source§impl Clone for TexmfError
impl Clone for TexmfError
Source§impl Debug for TexmfError
impl Debug for TexmfError
Source§impl Display for TexmfError
impl Display for TexmfError
impl Eq for TexmfError
Source§impl Error for TexmfError
impl Error for TexmfError
1.30.0 · 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()
Source§impl PartialEq for TexmfError
impl PartialEq for TexmfError
impl StructuralPartialEq for TexmfError
Auto Trait Implementations§
impl Freeze for TexmfError
impl RefUnwindSafe for TexmfError
impl Send for TexmfError
impl Sync for TexmfError
impl Unpin for TexmfError
impl UnsafeUnpin for TexmfError
impl UnwindSafe for TexmfError
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