#[non_exhaustive]pub enum DigStatus {
Start,
Abort,
Finish,
ReleaseUseItem,
}Expand description
block_dig status values used by the client.
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.
Start
Start destroying a block (0).
Abort
Abort destroying (1).
Finish
Finish destroying (2).
ReleaseUseItem
Release the used item: stop eating / blocking / drawing (5).
Implementations§
Trait Implementations§
impl Copy for DigStatus
impl Eq for DigStatus
impl StructuralPartialEq for DigStatus
Auto Trait Implementations§
impl Freeze for DigStatus
impl RefUnwindSafe for DigStatus
impl Send for DigStatus
impl Sync for DigStatus
impl Unpin for DigStatus
impl UnsafeUnpin for DigStatus
impl UnwindSafe for DigStatus
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