pub enum CanDeviceErrorKind {
Unknown,
NotFound,
NoDevice,
AccessDenied,
Busy,
UnsupportedConfig,
InvalidResponse,
InvalidFrame,
Backend,
}Expand description
设备/后端错误的结构化分类
Variants§
Trait Implementations§
Source§impl Clone for CanDeviceErrorKind
impl Clone for CanDeviceErrorKind
Source§fn clone(&self) -> CanDeviceErrorKind
fn clone(&self) -> CanDeviceErrorKind
Returns a duplicate 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 CanDeviceErrorKind
impl Debug for CanDeviceErrorKind
Source§impl PartialEq for CanDeviceErrorKind
impl PartialEq for CanDeviceErrorKind
impl Copy for CanDeviceErrorKind
impl Eq for CanDeviceErrorKind
impl StructuralPartialEq for CanDeviceErrorKind
Auto Trait Implementations§
impl Freeze for CanDeviceErrorKind
impl RefUnwindSafe for CanDeviceErrorKind
impl Send for CanDeviceErrorKind
impl Sync for CanDeviceErrorKind
impl Unpin for CanDeviceErrorKind
impl UnwindSafe for CanDeviceErrorKind
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