#[repr(u16)]pub enum AssertTrigPro {
TrigProtDefault = 0,
TrigProtOn = 1,
TrigProtOff = 2,
TrigProtSync = 5,
TrigProtReserve = 6,
TrigProtUnreserve = 7,
}Expand description
Trigger protocol to use during assertion.
- GPIB, Serial, TCPIP, USB
VI_TRIG_PROT_DEFAULT (0)
- VXI
VI_TRIG_PROT_DEFAULT (0), VI_TRIG_PROT_ON (1), VI_TRIG_PROT_OFF (2), and VI_TRIG_PROT_SYNC (5)
- PXI
VI_TRIG_PROT_RESERVE (6) VI_TRIG_PROT_UNRESERVE (7)
See assert_trigger
Variants§
TrigProtDefault = 0
TrigProtOn = 1
TrigProtOff = 2
TrigProtSync = 5
TrigProtReserve = 6
TrigProtUnreserve = 7
Trait Implementations§
Source§impl Clone for AssertTrigPro
impl Clone for AssertTrigPro
Source§fn clone(&self) -> AssertTrigPro
fn clone(&self) -> AssertTrigPro
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssertTrigPro
impl Debug for AssertTrigPro
Source§impl From<AssertTrigPro> for u16
impl From<AssertTrigPro> for u16
Source§fn from(enum_value: AssertTrigPro) -> Self
fn from(enum_value: AssertTrigPro) -> Self
Converts to this type from the input type.
Source§impl Hash for AssertTrigPro
impl Hash for AssertTrigPro
Source§impl Ord for AssertTrigPro
impl Ord for AssertTrigPro
Source§fn cmp(&self, other: &AssertTrigPro) -> Ordering
fn cmp(&self, other: &AssertTrigPro) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AssertTrigPro
impl PartialEq for AssertTrigPro
Source§impl PartialOrd for AssertTrigPro
impl PartialOrd for AssertTrigPro
Source§impl TryFrom<u16> for AssertTrigPro
impl TryFrom<u16> for AssertTrigPro
Source§type Error = TryFromPrimitiveError<AssertTrigPro>
type Error = TryFromPrimitiveError<AssertTrigPro>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AssertTrigPro
impl TryFromPrimitive for AssertTrigPro
const NAME: &'static str = "AssertTrigPro"
type Primitive = u16
type Error = TryFromPrimitiveError<AssertTrigPro>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for AssertTrigPro
impl Eq for AssertTrigPro
impl StructuralPartialEq for AssertTrigPro
Auto Trait Implementations§
impl Freeze for AssertTrigPro
impl RefUnwindSafe for AssertTrigPro
impl Send for AssertTrigPro
impl Sync for AssertTrigPro
impl Unpin for AssertTrigPro
impl UnwindSafe for AssertTrigPro
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