Enum probe_rs::config::RegistryError
source · [−]pub enum RegistryError {
ChipNotFound(String),
ChipNotUnique(String),
ChipAutodetectFailed,
UnknownCoreType(String),
Io(Error),
Yaml(Error),
InvalidChipFamilyDefinition(ChipFamily, String),
}
Expand description
Error type for all errors which occur when working with the internal registry of targets.
Variants
ChipNotFound(String)
The requested chip was not found in the registry.
ChipNotUnique(String)
Multiple chips found which match the given string, unable to return a single chip.
ChipAutodetectFailed
When searching for a chip based on information read from the target, no matching chip was found in the registry.
UnknownCoreType(String)
A core type contained in a target description is not supported in probe-rs.
Io(Error)
An IO error which occurred when trying to read a target description file.
Yaml(Error)
An error occurred while deserializing a YAML target description file.
InvalidChipFamilyDefinition(ChipFamily, String)
An invalid ChipFamily
was encountered.
Trait Implementations
sourceimpl Debug for RegistryError
impl Debug for RegistryError
sourceimpl Display for RegistryError
impl Display for RegistryError
sourceimpl Error for RegistryError
impl Error for RegistryError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for RegistryError
impl From<Error> for RegistryError
sourceimpl From<Error> for RegistryError
impl From<Error> for RegistryError
sourceimpl From<RegistryError> for DebugProbeError
impl From<RegistryError> for DebugProbeError
sourcefn from(source: RegistryError) -> Self
fn from(source: RegistryError) -> Self
Converts to this type from the input type.
sourceimpl From<RegistryError> for Error
impl From<RegistryError> for Error
sourcefn from(source: RegistryError) -> Self
fn from(source: RegistryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for RegistryError
impl Send for RegistryError
impl Sync for RegistryError
impl Unpin for RegistryError
impl !UnwindSafe for RegistryError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more