pub enum CfgError {
Show 28 variants
Manifest(String),
Data(DataError),
DtsParse {
file: String,
detail: String,
},
UnknownDoorbell {
name: String,
chip: String,
trm: String,
available: String,
},
OwnerNotVisible(String, String, String),
PeripheralNotOnCore {
name: String,
core: String,
chip: String,
},
PinSignalUnknown {
peripheral: String,
signal: String,
function: String,
chip: String,
},
PinCannotCarry {
peripheral: String,
signal: String,
pad: String,
function: String,
allowed: String,
},
PinNotInPackage {
peripheral: String,
signal: String,
pad: String,
package: String,
chip: String,
},
PinConflict {
pad: String,
first: String,
second: String,
},
IpcEndpointNotVisible(String, String, String),
DoorbellPartyUnavailable {
doorbell: String,
party: String,
chip: String,
available: String,
trm: String,
page: u32,
},
DoorbellChannelUnavailable {
doorbell: String,
channel: u32,
channels: u32,
chip: String,
trm: String,
page: u32,
},
DoorbellChannelDuplicate {
doorbell: String,
channel: u32,
first_party: String,
second_party: String,
},
DbgHostNotLoggable,
DbgCoreNotVisible {
core: String,
chip: String,
},
MemoryRegionNotSet,
UioMmapLimit {
device: String,
found: usize,
max: usize,
},
RegionNotVisible {
region: String,
window: String,
core: String,
visible: String,
chip: String,
},
RegionOutOfBounds {
region: String,
base: u32,
end: u32,
chip: String,
trm: String,
pages: String,
},
RegionOverlap {
a: String,
a_base: u32,
a_end: u32,
b: String,
b_base: u32,
b_end: u32,
},
RegionEmpty {
region: String,
},
RegionNotMpuAligned {
region: String,
base: u32,
length: u32,
requirement: &'static str,
},
RegionNotCacheAligned {
region: String,
base: u32,
length: u32,
requirement: &'static str,
},
IpcCacheUnsupported {
channel: String,
core: String,
},
IpcRegionTooSmall {
channel: String,
length: u32,
mtu: u32,
required: usize,
},
IpcAckChannelMissing {
channel: String,
party: String,
},
IpcAckChannelUnexpected {
channel: String,
party: String,
},
}Variants§
Manifest(String)
Data(DataError)
Chip-family database and per-core chip-map resolution errors, raised by
the consortium-data loaders.
DtsParse
A vendor device-tree source failed to parse while building the merged Linux device tree.
UnknownDoorbell
Fields
OwnerNotVisible(String, String, String)
PeripheralNotOnCore
PinSignalUnknown
PinCannotCarry
PinNotInPackage
PinConflict
IpcEndpointNotVisible(String, String, String)
DoorbellChannelDuplicate
DbgHostNotLoggable
DbgCoreNotVisible
MemoryRegionNotSet
UioMmapLimit
RegionNotVisible
RegionOutOfBounds
Fields
RegionOverlap
RegionEmpty
RegionNotMpuAligned
Fields
RegionNotCacheAligned
Fields
IpcCacheUnsupported
IpcRegionTooSmall
IpcAckChannelMissing
IpcAckChannelUnexpected
Trait Implementations§
impl Eq for CfgError
Source§impl Error for CfgError
impl Error for CfgError
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()
impl StructuralPartialEq for CfgError
Auto Trait Implementations§
impl Forget for CfgError
impl Freeze for CfgError
impl RefUnwindSafe for CfgError
impl Send for CfgError
impl Sync for CfgError
impl Unpin for CfgError
impl UnsafeUnpin for CfgError
impl UnwindSafe for CfgError
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§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.