pub enum LegacyErrorCode {
WorkerUnreachable,
WorkerNotFound,
ConfigInvalid,
ConfigNotFound,
DaemonNotRunning,
DaemonConnectionFailed,
SshConnectionFailed,
BenchmarkFailed,
HookInstallFailed,
InternalError,
}Expand description
Legacy error codes used in older CLI versions.
This enum provides backward compatibility by mapping old string-based
error codes to the new ErrorCode enum.
Variants§
WorkerUnreachable
WorkerNotFound
ConfigInvalid
ConfigNotFound
DaemonNotRunning
DaemonConnectionFailed
SshConnectionFailed
BenchmarkFailed
HookInstallFailed
InternalError
Implementations§
Trait Implementations§
Source§impl Clone for LegacyErrorCode
impl Clone for LegacyErrorCode
Source§fn clone(&self) -> LegacyErrorCode
fn clone(&self) -> LegacyErrorCode
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 moreSource§impl Debug for LegacyErrorCode
impl Debug for LegacyErrorCode
Source§impl Display for LegacyErrorCode
impl Display for LegacyErrorCode
Source§impl FromStr for LegacyErrorCode
impl FromStr for LegacyErrorCode
Source§impl Hash for LegacyErrorCode
impl Hash for LegacyErrorCode
Source§impl PartialEq for LegacyErrorCode
impl PartialEq for LegacyErrorCode
Source§fn eq(&self, other: &LegacyErrorCode) -> bool
fn eq(&self, other: &LegacyErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LegacyErrorCode
impl Eq for LegacyErrorCode
impl StructuralPartialEq for LegacyErrorCode
Auto Trait Implementations§
impl Freeze for LegacyErrorCode
impl RefUnwindSafe for LegacyErrorCode
impl Send for LegacyErrorCode
impl Sync for LegacyErrorCode
impl Unpin for LegacyErrorCode
impl UnsafeUnpin for LegacyErrorCode
impl UnwindSafe for LegacyErrorCode
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.