pub enum RunVersionError {
NotVersion2,
Members(&'static str),
}Expand description
Why a record has no version 1 projection, or does not fit its version.
Variants§
NotVersion2
Only a rustev.run/2 record projects to version 1.
Members(&'static str)
A version member is present where the schema has none, absent where it is required, or beyond its bounds.
Trait Implementations§
Source§impl Clone for RunVersionError
impl Clone for RunVersionError
Source§impl Debug for RunVersionError
impl Debug for RunVersionError
Source§impl Display for RunVersionError
impl Display for RunVersionError
impl Eq for RunVersionError
Source§impl Error for RunVersionError
impl Error for RunVersionError
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 RunVersionError
impl PartialEq for RunVersionError
impl StructuralPartialEq for RunVersionError
Auto Trait Implementations§
impl Freeze for RunVersionError
impl RefUnwindSafe for RunVersionError
impl Send for RunVersionError
impl Sync for RunVersionError
impl Unpin for RunVersionError
impl UnsafeUnpin for RunVersionError
impl UnwindSafe for RunVersionError
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