pub trait StoreSpec:
Sized
+ Default
+ Debug
+ Clone {
type K8Spec: Spec;
type Status: Sized + Clone + Default + Debug;
type Key: Ord + Clone + Debug + ToString;
type Owner: StoreSpec;
const LABEL: &'static str;
// Required method
fn convert_from_k8(
k8_obj: K8Obj<Self::K8Spec>,
) -> Result<Option<MetaItem<Self>>, IoError>;
}Required Associated Constants§
Required Associated Types§
type K8Spec: Spec
type Status: Sized + Clone + Default + Debug
type Key: Ord + Clone + Debug + ToString
type Owner: StoreSpec
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.