pub enum GroveVersionError {
UnknownVersionMismatch {
method: String,
known_versions: Vec<FeatureVersion>,
received: FeatureVersion,
},
VersionNotActive {
method: String,
known_versions: Vec<FeatureVersion>,
},
}Variants§
UnknownVersionMismatch
Expected some specific versions
Fields
§
known_versions: Vec<FeatureVersion>the allowed versions for this method
§
received: FeatureVersionrequested core height
VersionNotActive
Expected some specific versions
Fields
§
known_versions: Vec<FeatureVersion>the allowed versions for this method
Trait Implementations§
Source§impl Debug for GroveVersionError
impl Debug for GroveVersionError
Source§impl Display for GroveVersionError
impl Display for GroveVersionError
Source§impl Error for GroveVersionError
impl Error for GroveVersionError
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 GroveVersionError
impl RefUnwindSafe for GroveVersionError
impl Send for GroveVersionError
impl Sync for GroveVersionError
impl Unpin for GroveVersionError
impl UnwindSafe for GroveVersionError
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
Source§impl<T, U> TryFromVersioned<U> for Twhere
T: TryFrom<U>,
impl<T, U> TryFromVersioned<U> for Twhere
T: TryFrom<U>,
Source§fn try_from_versioned(
value: U,
_grove_version: &GroveVersion,
) -> Result<T, <T as TryFromVersioned<U>>::Error>
fn try_from_versioned( value: U, _grove_version: &GroveVersion, ) -> Result<T, <T as TryFromVersioned<U>>::Error>
Performs the conversion.
Source§impl<T, U> TryIntoVersioned<U> for Twhere
U: TryFromVersioned<T>,
impl<T, U> TryIntoVersioned<U> for Twhere
U: TryFromVersioned<T>,
Source§type Error = <U as TryFromVersioned<T>>::Error
type Error = <U as TryFromVersioned<T>>::Error
The type returned in the event of a conversion error.
Source§fn try_into_versioned(
self,
grove_version: &GroveVersion,
) -> Result<U, <U as TryFromVersioned<T>>::Error>
fn try_into_versioned( self, grove_version: &GroveVersion, ) -> Result<U, <U as TryFromVersioned<T>>::Error>
Performs the conversion.