pub enum SwitchEncodeError {
UnsupportedSelector(String),
TooManyCases(usize),
JaOutOfRange {
cmp_ip: u64,
default: u64,
},
}Expand description
Errors emitted by encode_msvc_jmp_table_dispatch.
Variants§
Trait Implementations§
Source§impl Debug for SwitchEncodeError
impl Debug for SwitchEncodeError
Source§impl Display for SwitchEncodeError
impl Display for SwitchEncodeError
Source§impl Error for SwitchEncodeError
impl Error for SwitchEncodeError
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 SwitchEncodeError
impl RefUnwindSafe for SwitchEncodeError
impl Send for SwitchEncodeError
impl Sync for SwitchEncodeError
impl Unpin for SwitchEncodeError
impl UnsafeUnpin for SwitchEncodeError
impl UnwindSafe for SwitchEncodeError
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