pub enum SdkCompat {
Ok,
Warn {
core: PluginSdkVersion,
plugin: PluginSdkVersion,
},
Error(String),
}Expand description
Result of comparing a plugin’s declared SDK against core.
Variants§
Ok
Exact match (or plugin == core).
Warn
Same major; core is newer — plugin may miss new APIs later; warn only.
Error(String)
Hard failure: major mismatch or plugin requires a newer core.
Trait Implementations§
impl Eq for SdkCompat
impl StructuralPartialEq for SdkCompat
Auto Trait Implementations§
impl Freeze for SdkCompat
impl RefUnwindSafe for SdkCompat
impl Send for SdkCompat
impl Sync for SdkCompat
impl Unpin for SdkCompat
impl UnsafeUnpin for SdkCompat
impl UnwindSafe for SdkCompat
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.