pub struct KernelState {
pub phase: String,
pub fields: BTreeMap<String, KernelValue>,
}Fields§
§phase: String§fields: BTreeMap<String, KernelValue>Trait Implementations§
Source§impl Clone for KernelState
impl Clone for KernelState
Source§fn clone(&self) -> KernelState
fn clone(&self) -> KernelState
Returns a duplicate 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 moreSource§impl Debug for KernelState
impl Debug for KernelState
Source§impl Default for KernelState
impl Default for KernelState
Source§fn default() -> KernelState
fn default() -> KernelState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KernelState
impl<'de> Deserialize<'de> for KernelState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KernelState
impl PartialEq for KernelState
Source§impl Serialize for KernelState
impl Serialize for KernelState
impl Eq for KernelState
impl StructuralPartialEq for KernelState
Auto Trait Implementations§
impl Freeze for KernelState
impl RefUnwindSafe for KernelState
impl Send for KernelState
impl Sync for KernelState
impl Unpin for KernelState
impl UnsafeUnpin for KernelState
impl UnwindSafe for KernelState
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.