pub struct ErrorBuilder { /* private fields */ }Expand description
Enhanced error builder for creating detailed error messages
Implementations§
Source§impl ErrorBuilder
impl ErrorBuilder
Sourcepub fn suggestion(self, suggestion: impl Into<String>) -> Self
pub fn suggestion(self, suggestion: impl Into<String>) -> Self
Add a suggestion for fixing the error
Auto Trait Implementations§
impl Freeze for ErrorBuilder
impl RefUnwindSafe for ErrorBuilder
impl Send for ErrorBuilder
impl Sync for ErrorBuilder
impl Unpin for ErrorBuilder
impl UnsafeUnpin for ErrorBuilder
impl UnwindSafe for ErrorBuilder
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