pub enum ValError {
PosOverflow(u32, u32),
NegOverflow(i32, i32),
MemOverflow(u16, u16, u16, String),
InvalidRange(i32, i32, i32),
InvalidValue(i32, i32),
}Expand description
ev3_dc Error type
Variants§
PosOverflow(u32, u32)
encode failed to encode overflowed value
NegOverflow(i32, i32)
encode failed to encode underflowed value
MemOverflow(u16, u16, u16, String)
Command::allocate failed to allocated variable in memory
InvalidRange(i32, i32, i32)
Value isn’t in valid range
InvalidValue(i32, i32)
Value isn’t validi
Trait Implementations§
Source§impl Error for ValError
impl Error for ValError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + '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 Freeze for ValError
impl RefUnwindSafe for ValError
impl Send for ValError
impl Sync for ValError
impl Unpin for ValError
impl UnwindSafe for ValError
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