pub struct AttrMaxQueueLength { /* private fields */ }Expand description
VI_ATTR_MAX_QUEUE_LENGTH specifies the maximum number of events that can be queued at any time on the given session. Events that occur after the queue has become full will be discarded. VI_ATTR_MAX_QUEUE_LENGTH is a Read/Write attribute until the first time viEnableEvent() is called on a session. Thereafter, this attribute is Read Only.
Implementations§
Source§impl AttrMaxQueueLength
impl AttrMaxQueueLength
pub fn into_inner(self) -> ViUInt32
Source§impl AttrMaxQueueLength
impl AttrMaxQueueLength
pub unsafe fn new_unchecked(value: ViUInt32) -> Self
pub fn new_checked(value: ViUInt32) -> Option<Self>
Trait Implementations§
Source§impl Clone for AttrMaxQueueLength
impl Clone for AttrMaxQueueLength
Source§fn clone(&self) -> AttrMaxQueueLength
fn clone(&self) -> AttrMaxQueueLength
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 AttrMaxQueueLength
impl Debug for AttrMaxQueueLength
Source§impl Default for AttrMaxQueueLength
impl Default for AttrMaxQueueLength
Source§impl From<AttrMaxQueueLength> for Attribute
impl From<AttrMaxQueueLength> for Attribute
Source§fn from(s: AttrMaxQueueLength) -> Self
fn from(s: AttrMaxQueueLength) -> Self
Converts to this type from the input type.
Source§impl Hash for AttrMaxQueueLength
impl Hash for AttrMaxQueueLength
Source§impl Ord for AttrMaxQueueLength
impl Ord for AttrMaxQueueLength
Source§fn cmp(&self, other: &AttrMaxQueueLength) -> Ordering
fn cmp(&self, other: &AttrMaxQueueLength) -> 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 AttrMaxQueueLength
impl PartialEq for AttrMaxQueueLength
Source§impl PartialOrd for AttrMaxQueueLength
impl PartialOrd for AttrMaxQueueLength
Source§impl SpecAttr for AttrMaxQueueLength
impl SpecAttr for AttrMaxQueueLength
impl Eq for AttrMaxQueueLength
impl StructuralPartialEq for AttrMaxQueueLength
Auto Trait Implementations§
impl Freeze for AttrMaxQueueLength
impl RefUnwindSafe for AttrMaxQueueLength
impl Send for AttrMaxQueueLength
impl Sync for AttrMaxQueueLength
impl Unpin for AttrMaxQueueLength
impl UnwindSafe for AttrMaxQueueLength
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