pub struct PartialError { /* private fields */ }Expand description
An error that has yet to be resolved with a Span.
Implementations§
Source§impl PartialError
impl PartialError
Sourcepub fn with_root_path(self) -> Error
pub fn with_root_path(self) -> Error
Converts a PartialError into an Error with a root path.
This can be used If the path is unknown or the Error occurred at the root.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PartialError
impl !RefUnwindSafe for PartialError
impl Send for PartialError
impl Sync for PartialError
impl Unpin for PartialError
impl !UnwindSafe for PartialError
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