#[non_exhaustive]pub enum LeanWorkerKernelStatus {
Checked,
Rejected,
Unavailable,
Unsupported,
}Expand description
Kernel-check status returned over the worker boundary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LeanWorkerKernelStatus
impl Clone for LeanWorkerKernelStatus
Source§fn clone(&self) -> LeanWorkerKernelStatus
fn clone(&self) -> LeanWorkerKernelStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LeanWorkerKernelStatus
Source§impl Debug for LeanWorkerKernelStatus
impl Debug for LeanWorkerKernelStatus
Source§impl<'de> Deserialize<'de> for LeanWorkerKernelStatus
impl<'de> Deserialize<'de> for LeanWorkerKernelStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerKernelStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerKernelStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerKernelStatus
Source§impl PartialEq for LeanWorkerKernelStatus
impl PartialEq for LeanWorkerKernelStatus
Source§impl Serialize for LeanWorkerKernelStatus
impl Serialize for LeanWorkerKernelStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerKernelStatus
Auto Trait Implementations§
impl Freeze for LeanWorkerKernelStatus
impl RefUnwindSafe for LeanWorkerKernelStatus
impl Send for LeanWorkerKernelStatus
impl Sync for LeanWorkerKernelStatus
impl Unpin for LeanWorkerKernelStatus
impl UnsafeUnpin for LeanWorkerKernelStatus
impl UnwindSafe for LeanWorkerKernelStatus
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