pub enum Error {
ExpectedInMemory(EntryLink),
ExpectedNode(Option<EntryLink>),
}
Expand description
Crate-level error type
Variants§
ExpectedInMemory(EntryLink)
Entry expected to be presented in the tree view while it was not.
ExpectedNode(Option<EntryLink>)
Entry expected to be a node (specifying for which link this is not true).
Implementations§
Source§impl Error
impl Error
Sourcepub fn link_node_expected(link: EntryLink) -> Self
pub fn link_node_expected(link: EntryLink) -> Self
Entry expected to be a node (specifying for which link this is not true).
Sourcepub fn node_expected() -> Self
pub fn node_expected() -> Self
Some entry is expected to be node
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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