#[non_exhaustive]pub enum TaskSocketEvent {
Created,
Updated,
Finished,
Failed,
}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.
Implementations§
Trait Implementations§
Source§impl Clone for TaskSocketEvent
impl Clone for TaskSocketEvent
Source§fn clone(&self) -> TaskSocketEvent
fn clone(&self) -> TaskSocketEvent
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 TaskSocketEvent
impl Debug for TaskSocketEvent
Source§impl PartialEq for TaskSocketEvent
impl PartialEq for TaskSocketEvent
Source§fn eq(&self, other: &TaskSocketEvent) -> bool
fn eq(&self, other: &TaskSocketEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TaskSocketEvent
impl Eq for TaskSocketEvent
impl StructuralPartialEq for TaskSocketEvent
Auto Trait Implementations§
impl Freeze for TaskSocketEvent
impl RefUnwindSafe for TaskSocketEvent
impl Send for TaskSocketEvent
impl Sync for TaskSocketEvent
impl Unpin for TaskSocketEvent
impl UnsafeUnpin for TaskSocketEvent
impl UnwindSafe for TaskSocketEvent
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