pub enum RuntimeVersionError {
QueryFailed,
Incompatible {
expected: (u16, u16, u16),
actual: (u16, u16, u16),
},
}Variants§
Trait Implementations§
Source§impl Clone for RuntimeVersionError
impl Clone for RuntimeVersionError
impl Copy for RuntimeVersionError
Source§impl Debug for RuntimeVersionError
impl Debug for RuntimeVersionError
Source§impl Display for RuntimeVersionError
impl Display for RuntimeVersionError
impl Eq for RuntimeVersionError
Source§impl Error for RuntimeVersionError
impl Error for RuntimeVersionError
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()
Source§impl PartialEq for RuntimeVersionError
impl PartialEq for RuntimeVersionError
impl StructuralPartialEq for RuntimeVersionError
Auto Trait Implementations§
impl Freeze for RuntimeVersionError
impl RefUnwindSafe for RuntimeVersionError
impl Send for RuntimeVersionError
impl Sync for RuntimeVersionError
impl Unpin for RuntimeVersionError
impl UnsafeUnpin for RuntimeVersionError
impl UnwindSafe for RuntimeVersionError
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