Enum probe_rs_cli_util::common_options::OperationError [−][src]
pub enum OperationError {
Show 20 variants
NoProbesFound,
FailedToReadFamilies(RegistryError),
FailedToOpenElf {
source: Error,
path: PathBuf,
},
FailedToLoadElfData(FileDownloadError),
FailedToOpenProbe(DebugProbeError),
MultipleProbesFound {
number: usize,
},
FlashingFailed {
source: FlashError,
target: Target,
target_spec: Option<String>,
path: PathBuf,
},
FailedChipDescriptionParsing {
source: RegistryError,
path: PathBuf,
},
FailedToChangeWorkingDirectory {
source: Error,
path: PathBuf,
},
FailedToBuildExternalCargoProject {
source: ArtifactError,
path: PathBuf,
},
FailedToBuildCargoProject(ArtifactError),
ChipNotFound {
source: RegistryError,
name: String,
},
FailedToSelectProtocol {
source: DebugProbeError,
protocol: WireProtocol,
},
FailedToSelectProtocolSpeed {
source: DebugProbeError,
speed: u32,
},
AttachingFailed {
source: Error,
connect_under_reset: bool,
},
AttachingToCoreFailed(Error),
TargetResetFailed(Error),
TargetResetHaltFailed(Error),
IOError(Error),
InvalidAPIOrder,
}Variants
NoProbesFound
FailedToReadFamilies(RegistryError)
Tuple Fields
FailedToOpenElf
FailedToLoadElfData(FileDownloadError)
Tuple Fields
FailedToOpenProbe(DebugProbeError)
Tuple Fields
MultipleProbesFound
Fields
number: usizeFlashingFailed
FailedChipDescriptionParsing
FailedToChangeWorkingDirectory
FailedToBuildExternalCargoProject
FailedToBuildCargoProject(ArtifactError)
Tuple Fields
ChipNotFound
FailedToSelectProtocol
FailedToSelectProtocolSpeed
AttachingFailed
AttachingToCoreFailed(Error)
Tuple Fields
0: ErrorTargetResetFailed(Error)
Tuple Fields
0: ErrorTargetResetHaltFailed(Error)
Tuple Fields
0: ErrorIOError(Error)
Tuple Fields
0: ErrorInvalidAPIOrder
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl !UnwindSafe for OperationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Adds separators according to the given SeparatorPolicy. Read more
Inserts a comma every three digits from the right. Read more
Inserts a space every three digits from the right. Read more
Inserts a period every three digits from the right. Read more
Inserts an underscore every three digits from the right. Read more