pub struct BadMode {
pub mode: Mode,
}Expand description
Represents a runtime error. This error is triggered when an expected mode doesn’t match the model mode .
Fields§
§mode: ModeThe current mode of the model.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BadMode
impl RefUnwindSafe for BadMode
impl Send for BadMode
impl Sync for BadMode
impl Unpin for BadMode
impl UnwindSafe for BadMode
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