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
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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