pub struct Err<E> { /* private fields */ }Implementations§
Source§impl<E> Err<E>
impl<E> Err<E>
pub fn from_err(err: E) -> Self
pub fn from_errs<C>(err: E, children: &mut dyn Iterator<Item = C>) -> Self
pub fn raise<E2>(self, err: E2) -> Err<E2>
pub fn as_inner(&self) -> &E
pub fn simple_display(&self) -> SimpleDisplay<'_, E>
pub fn detailed_display(&self) -> DetailedDisplay<'_, E>
pub fn as_error(&self) -> ErrorImplementorBorrowed<'_, E>
pub fn into_error(self) -> ErrorImplementorOwned<E>
Trait Implementations§
Auto Trait Implementations§
impl<E> !RefUnwindSafe for Err<E>
impl<E> !UnwindSafe for Err<E>
impl<E> Freeze for Err<E>
impl<E> Send for Err<E>
impl<E> Sync for Err<E>
impl<E> Unpin for Err<E>
impl<E> UnsafeUnpin for Err<E>where
Box<TypedFrame<E>>: 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