pub enum CubeProgrammerError {
Show 17 variants
DeviceNotConnected = -1,
NoDeviceFound = -2,
ConnectionError = -3,
FileNotFound = -4,
UnsupportedOperation = -5,
UnsupportedInterface = -6,
InsufficientMemory = -7,
UnknownParameters = -8,
MemoryReadError = -9,
MemoryWriteError = -10,
MemoryEraseError = -11,
UnsupportedFileFormat = -12,
RefreshRequired = -13,
SecurityError = -14,
FrequencyError = -15,
RdpEnabledError = -16,
UnknownError = -17,
}
Variants§
DeviceNotConnected = -1
NoDeviceFound = -2
ConnectionError = -3
FileNotFound = -4
UnsupportedOperation = -5
UnsupportedInterface = -6
InsufficientMemory = -7
UnknownParameters = -8
MemoryReadError = -9
MemoryWriteError = -10
MemoryEraseError = -11
UnsupportedFileFormat = -12
RefreshRequired = -13
SecurityError = -14
FrequencyError = -15
RdpEnabledError = -16
UnknownError = -17
Trait Implementations§
Source§impl Clone for CubeProgrammerError
impl Clone for CubeProgrammerError
Source§fn clone(&self) -> CubeProgrammerError
fn clone(&self) -> CubeProgrammerError
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 CubeProgrammerError
impl Debug for CubeProgrammerError
Source§impl Display for CubeProgrammerError
impl Display for CubeProgrammerError
Source§impl Error for CubeProgrammerError
impl Error for CubeProgrammerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CubeProgrammerError> for Error
impl From<CubeProgrammerError> for Error
Source§fn from(err: CubeProgrammerError) -> Error
fn from(err: CubeProgrammerError) -> Error
Converts to this type from the input type.
Source§impl From<i32> for CubeProgrammerError
impl From<i32> for CubeProgrammerError
Source§fn from(value: i32) -> CubeProgrammerError
fn from(value: i32) -> CubeProgrammerError
Converts to this type from the input type.
impl Copy for CubeProgrammerError
Auto Trait Implementations§
impl Freeze for CubeProgrammerError
impl RefUnwindSafe for CubeProgrammerError
impl Send for CubeProgrammerError
impl Sync for CubeProgrammerError
impl Unpin for CubeProgrammerError
impl UnwindSafe for CubeProgrammerError
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