pub struct ElementError {
pub error: ComputerError,
pub tree: Option<String>,
}Expand description
Failure that may carry the fresh tree for stale_element.
Fields§
§error: ComputerErrorStable error.
tree: Option<String>Numbered tree after the re-fetch. Present for stale_element.
Implementations§
Trait Implementations§
Source§impl Debug for ElementError
impl Debug for ElementError
Source§impl From<ComputerError> for ElementError
impl From<ComputerError> for ElementError
Source§fn from(error: ComputerError) -> Self
fn from(error: ComputerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ElementError
impl !UnwindSafe for ElementError
impl Freeze for ElementError
impl Send for ElementError
impl Sync for ElementError
impl Unpin for ElementError
impl UnsafeUnpin for ElementError
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