pub struct FileError {
pub kind: FileErrorKind,
pub message: String,
}Expand description
Why a file can’t be read, from FileView::error, as Quickshell’s
FileViewError.
Fields§
§kind: FileErrorKindWhat kind of failure it is.
message: StringWhat the system said, such as No such file or directory (os error 2), or the shell, such as it isn't UTF-8.
Trait Implementations§
impl Eq for FileError
impl StructuralPartialEq for FileError
Auto Trait Implementations§
impl Forget for FileError
impl Freeze for FileError
impl Move for FileError
impl RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl UnsafeUnpin for FileError
impl UnwindSafe for FileError
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