pub struct GoWrapped { /* private fields */ }Expand description
An error that displays {prefix}: {source} and keeps source as its source(), so walks
of the error chain find the cause.
Implementations§
Trait Implementations§
Source§impl Error for GoWrapped
impl Error for GoWrapped
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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 GoWrapped
impl !UnwindSafe for GoWrapped
impl Forget for GoWrapped
impl Freeze for GoWrapped
impl Move for GoWrapped
impl Send for GoWrapped
impl Sync for GoWrapped
impl Unpin for GoWrapped
impl UnsafeUnpin for GoWrappedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const dyn Error + Sync + Send is !null: UnsafeUnpin,
PhantomData<dyn Error + Sync + Send>: UnsafeUnpin,
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