pub enum PointerError {
Bad {
file: PathBuf,
why: String,
},
Stray {
file: PathBuf,
library: PathBuf,
},
InTheWay(PathBuf),
NotWritten {
file: PathBuf,
error: Error,
},
NotTakenAway {
file: PathBuf,
error: Error,
},
Library(NodeError),
}Expand description
What is wrong with a .nib file, or with writing one.
Variants§
Bad
A .nib file in a folder that names no library that may be opened.
Stray
A .nib file that names a library which keeps no tree in that folder on this device,
as a copy of a tree’s folder would.
InTheWay(PathBuf)
Something other than a file where the .nib file of a tree outside the library’s
folder goes.
NotWritten
The .nib file of a tree outside the library’s folder could not be written.
NotTakenAway
The .nib file of a tree inside the library’s folder, which would take over the
commands there, could not be deleted.
Library(NodeError)
The library could not be read.
Trait Implementations§
Source§impl Debug for PointerError
impl Debug for PointerError
Source§impl Display for PointerError
impl Display for PointerError
Source§impl Error for PointerError
impl Error for PointerError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for PointerError
impl !UnwindSafe for PointerError
impl Forget for PointerError
impl Freeze for PointerError
impl Move for PointerError
impl Send for PointerError
impl Sync for PointerError
impl Unpin for PointerError
impl UnsafeUnpin for PointerError
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