pub struct LabBench { /* private fields */ }
Expand description
A representation of all the nScopes plugged into a computer
Implementations§
source§impl LabBench
impl LabBench
sourcepub fn new() -> Result<LabBench, Box<dyn Error>>
pub fn new() -> Result<LabBench, Box<dyn Error>>
Creates a new lab bench, searching the computer for nScope links
sourcepub fn list(&self) -> impl Iterator<Item = NscopeLink> + '_
pub fn list(&self) -> impl Iterator<Item = NscopeLink> + '_
Returns iterator containing information about detected nScopes plugged into the computer
sourcepub fn open_all_available(&self) -> Vec<Nscope>
pub fn open_all_available(&self) -> Vec<Nscope>
Returns a vector containing all nScopes that are available
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LabBench
impl Send for LabBench
impl Sync for LabBench
impl Unpin for LabBench
impl UnwindSafe for LabBench
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