#[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 moreSource§impl Debug for LeanWorkerKernelStatus
impl Debug for LeanWorkerKernelStatus
Source§impl PartialEq for LeanWorkerKernelStatus
impl PartialEq for LeanWorkerKernelStatus
Source§fn eq(&self, other: &LeanWorkerKernelStatus) -> bool
fn eq(&self, other: &LeanWorkerKernelStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeanWorkerKernelStatus
impl Eq for LeanWorkerKernelStatus
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