pub struct SimpleMsg<E: Debug + Display + Send + 'static> {
pub err: E,
pub file: String,
pub line: u32,
pub column: u32,
}
Expand description
error + <file + line + column>
Fields
err: E
actual error
file: String
file path
line: u32
line number
column: u32
column number
Implementations
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for SimpleMsg<E> where
E: RefUnwindSafe,
impl<E> Send for SimpleMsg<E>
impl<E> Sync for SimpleMsg<E> where
E: Sync,
impl<E> Unpin for SimpleMsg<E> where
E: Unpin,
impl<E> UnwindSafe for SimpleMsg<E> where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more