pub struct Args<'a> {
pub spec_path: &'a str,
pub firmware: Option<&'a str>,
pub position: (u16, u16),
pub index: Option<u16>,
pub snapshot_dir: Option<&'a str>,
pub commit: bool,
pub wait: u64,
}Expand description
What rxp provision takes.
Fields§
§spec_path: &'a strPanel spec file.
firmware: Option<&'a str>Vendor firmware image to install: a config/firmware.toml name, a
path, or auto for the image the ranking picks for the spec
(crate::firmware::pick); skipped when absent.
position: (u16, u16)Cabinet position in the whole screen, in pixels.
index: Option<u16>The card’s position in the Ethernet chain, the receiver index the EEPROM frames carry; absent, they broadcast, and a chain of more than one card is refused.
snapshot_dir: Option<&'a str>Directory for the pre-provisioning snapshot; build/snapshot-<time>
when absent.
commit: boolWrite it; without this only the plan is printed.
wait: u64Seconds to wait for each reply.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Args<'a>
impl<'a> RefUnwindSafe for Args<'a>
impl<'a> Send for Args<'a>
impl<'a> Sync for Args<'a>
impl<'a> Unpin for Args<'a>
impl<'a> UnsafeUnpin for Args<'a>
impl<'a> UnwindSafe for Args<'a>
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