Enum e_app::drive::DriveStatusType
source · pub enum DriveStatusType {
Runing,
Disabled,
None,
}Expand description
驱动状态类型
Variants§
Trait Implementations§
source§impl Clone for DriveStatusType
impl Clone for DriveStatusType
source§fn clone(&self) -> DriveStatusType
fn clone(&self) -> DriveStatusType
Returns a copy of the value. Read more
1.0.0 · 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 DriveStatusType
impl Debug for DriveStatusType
source§impl Default for DriveStatusType
impl Default for DriveStatusType
source§fn default() -> DriveStatusType
fn default() -> DriveStatusType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DriveStatusType
impl<'de> Deserialize<'de> for DriveStatusType
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 PartialEq for DriveStatusType
impl PartialEq for DriveStatusType
source§fn eq(&self, other: &DriveStatusType) -> bool
fn eq(&self, other: &DriveStatusType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DriveStatusType
impl Serialize for DriveStatusType
impl StructuralPartialEq for DriveStatusType
Auto Trait Implementations§
impl Freeze for DriveStatusType
impl RefUnwindSafe for DriveStatusType
impl Send for DriveStatusType
impl Sync for DriveStatusType
impl Unpin for DriveStatusType
impl UnwindSafe for DriveStatusType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)