pub struct ChipDetectOptions {
pub continue_on_failure: bool,
pub local_only: bool,
pub chip_filter: Vec<Arch>,
pub noc_safe: bool,
}
Fields§
§continue_on_failure: bool
If true, we will continue searching for chips even if we encounter a recoverable error. If false, detection errors will be raised as an Err(..).
local_only: bool
If true, then we will search for chips directly available over a physical interface (pci, jtag, i2c, etc…) If false, we will search for chips directly available and via ethernet.
chip_filter: Vec<Arch>
If len > 0 then only chips with the given archs will be returned.
noc_safe: bool
If true, then we will not initialize anything that might cause a problem (i.e. a noc hang).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChipDetectOptions
impl RefUnwindSafe for ChipDetectOptions
impl Send for ChipDetectOptions
impl Sync for ChipDetectOptions
impl Unpin for ChipDetectOptions
impl UnwindSafe for ChipDetectOptions
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