pub enum SelfTestStatus {
NotRun,
Passed,
Failed(&'static str),
}Expand description
自检状态。
Variants§
Trait Implementations§
Source§impl Clone for SelfTestStatus
impl Clone for SelfTestStatus
Source§fn clone(&self) -> SelfTestStatus
fn clone(&self) -> SelfTestStatus
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 moreimpl Copy for SelfTestStatus
Source§impl Debug for SelfTestStatus
impl Debug for SelfTestStatus
impl Eq for SelfTestStatus
Source§impl PartialEq for SelfTestStatus
impl PartialEq for SelfTestStatus
impl StructuralPartialEq for SelfTestStatus
Auto Trait Implementations§
impl Freeze for SelfTestStatus
impl RefUnwindSafe for SelfTestStatus
impl Send for SelfTestStatus
impl Sync for SelfTestStatus
impl Unpin for SelfTestStatus
impl UnsafeUnpin for SelfTestStatus
impl UnwindSafe for SelfTestStatus
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