pub struct JobID(_);
Expand description
Job ID of a asynchronous operation,
Returned by Instrument::visa_read_async
or Instrument::visa_write_async
, to compare with the attribute AttrJobId get from Event to distinguish operations
Implementations
sourceimpl JobID
impl JobID
sourcepub fn null() -> Self
pub fn null() -> Self
create JobId with value null, used in Instrument::terminate
to abort all calls
Trait Implementations
sourceimpl Ord for JobID
impl Ord for JobID
sourceimpl PartialOrd<JobID> for JobID
impl PartialOrd<JobID> for JobID
sourcefn partial_cmp(&self, other: &JobID) -> Option<Ordering>
fn partial_cmp(&self, other: &JobID) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for JobID
impl Eq for JobID
impl StructuralEq for JobID
impl StructuralPartialEq for JobID
Auto Trait Implementations
impl RefUnwindSafe for JobID
impl Send for JobID
impl Sync for JobID
impl Unpin for JobID
impl UnwindSafe for JobID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more