#[non_exhaustive]pub enum TaskListStatus {
InProgress,
Unknown(String),
}Expand description
A task row’s status. Open: a future state is additive, and clients MUST ignore unknown statuses.
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.
InProgress
The workload is live; every listed row carries this today.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for TaskListStatus
impl Clone for TaskListStatus
Source§impl Debug for TaskListStatus
impl Debug for TaskListStatus
Source§impl<'de> Deserialize<'de> for TaskListStatus
impl<'de> Deserialize<'de> for TaskListStatus
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TaskListStatus
Source§impl PartialEq for TaskListStatus
impl PartialEq for TaskListStatus
Source§impl Serialize for TaskListStatus
impl Serialize for TaskListStatus
impl StructuralPartialEq for TaskListStatus
Auto Trait Implementations§
impl Freeze for TaskListStatus
impl RefUnwindSafe for TaskListStatus
impl Send for TaskListStatus
impl Sync for TaskListStatus
impl Unpin for TaskListStatus
impl UnsafeUnpin for TaskListStatus
impl UnwindSafe for TaskListStatus
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