pub struct IbStatus {}Fields§
§dcas: bool§dtas: bool§lacs: bool§tacs: bool§atn: bool§cic: bool§rem: bool§lok: bool§cmpl: bool§event: bool§spoll: bool§rqs: bool§srqi: bool§end: bool§timo: bool§err: boolImplementations§
Source§impl IbStatus
impl IbStatus
Sourcepub fn current_status() -> IbStatus
pub fn current_status() -> IbStatus
Get current value of from Linux-GPIB ibsta global variable
Sourcepub fn from_ibsta(ibsta: i32) -> IbStatus
pub fn from_ibsta(ibsta: i32) -> IbStatus
Convert c_int status value to IbStatus
pub fn with_dcas(self, dcas: bool) -> Self
pub fn with_dtas(self, dtas: bool) -> Self
pub fn with_lacs(self, lacs: bool) -> Self
pub fn with_tacs(self, tacs: bool) -> Self
pub fn with_atn(self, atn: bool) -> Self
pub fn with_cic(self, cic: bool) -> Self
pub fn with_rem(self, rem: bool) -> Self
pub fn with_lok(self, lok: bool) -> Self
pub fn with_cmpl(self, cmpl: bool) -> Self
pub fn with_event(self, event: bool) -> Self
pub fn with_spoll(self, spoll: bool) -> Self
pub fn with_rqs(self, rqs: bool) -> Self
pub fn with_srqi(self, srqi: bool) -> Self
pub fn with_end(self, end: bool) -> Self
pub fn with_timo(self, timo: bool) -> Self
pub fn with_err(self, err: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IbStatus
impl RefUnwindSafe for IbStatus
impl Send for IbStatus
impl Sync for IbStatus
impl Unpin for IbStatus
impl UnwindSafe for IbStatus
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