#[repr(C)]pub enum TaskType {
NODE_ATTESTATION = 0,
CERTIFICATE_ISSUANCE = 1,
BUILD_WHITELIST = 2,
DOMAIN_WHITELIST = 3,
}
Expand description
The types of tasks supported.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskType
impl<'de> Deserialize<'de> for TaskType
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 Ord for TaskType
impl Ord for TaskType
Source§impl PartialOrd for TaskType
impl PartialOrd for TaskType
impl Copy for TaskType
impl Eq for TaskType
impl StructuralPartialEq for TaskType
Auto Trait Implementations§
impl Freeze for TaskType
impl RefUnwindSafe for TaskType
impl Send for TaskType
impl Sync for TaskType
impl Unpin for TaskType
impl UnwindSafe for TaskType
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