pub struct RuntimeError {
pub kind: RuntimeErrorKind,
pub msg: String,
}
Fields§
§kind: RuntimeErrorKind
§msg: String
Implementations§
Source§impl RuntimeError
impl RuntimeError
pub fn new(kind: RuntimeErrorKind, msg: String) -> Self
Trait Implementations§
Source§impl Debug for RuntimeError
impl Debug for RuntimeError
Auto Trait Implementations§
impl Freeze for RuntimeError
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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