pub struct VersionError {
pub expected: u64,
pub found: u64,
}
Expand description
A structure representing a mismatch between an expected and actual version number.
Fields§
§expected: u64
The version number that was expected.
found: u64
The actual version number that was found.
Trait Implementations§
Source§impl Clone for VersionError
impl Clone for VersionError
Source§fn clone(&self) -> VersionError
fn clone(&self) -> VersionError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VersionError
impl RefUnwindSafe for VersionError
impl Send for VersionError
impl Sync for VersionError
impl Unpin for VersionError
impl UnwindSafe for VersionError
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