pub struct AttrTcpipKeepalive { /* private fields */ }
Expand description
Setting this attribute to TRUE requests that a TCP/IP provider enable the use of keep-alive packets on TCP connections. After the system detects that a connection was dropped, VISA returns a lost connection error code on subsequent I/O calls on the session. The time required for the system to detect that the connection was dropped is dependent on the system and is not settable.
Implementations
sourceimpl AttrTcpipKeepalive
impl AttrTcpipKeepalive
pub fn into_inner(self) -> ViBoolean
Trait Implementations
sourceimpl AttrInner for AttrTcpipKeepalive
impl AttrInner for AttrTcpipKeepalive
sourceimpl Clone for AttrTcpipKeepalive
impl Clone for AttrTcpipKeepalive
sourcefn clone(&self) -> AttrTcpipKeepalive
fn clone(&self) -> AttrTcpipKeepalive
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttrTcpipKeepalive
impl Debug for AttrTcpipKeepalive
sourceimpl Default for AttrTcpipKeepalive
impl Default for AttrTcpipKeepalive
sourceimpl From<AttrTcpipKeepalive> for Attribute
impl From<AttrTcpipKeepalive> for Attribute
sourcefn from(s: AttrTcpipKeepalive) -> Self
fn from(s: AttrTcpipKeepalive) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrTcpipKeepalive
impl Hash for AttrTcpipKeepalive
sourceimpl Ord for AttrTcpipKeepalive
impl Ord for AttrTcpipKeepalive
sourceimpl PartialEq<AttrTcpipKeepalive> for AttrTcpipKeepalive
impl PartialEq<AttrTcpipKeepalive> for AttrTcpipKeepalive
sourcefn eq(&self, other: &AttrTcpipKeepalive) -> bool
fn eq(&self, other: &AttrTcpipKeepalive) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrTcpipKeepalive) -> bool
fn ne(&self, other: &AttrTcpipKeepalive) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrTcpipKeepalive> for AttrTcpipKeepalive
impl PartialOrd<AttrTcpipKeepalive> for AttrTcpipKeepalive
sourcefn partial_cmp(&self, other: &AttrTcpipKeepalive) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrTcpipKeepalive) -> 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 Eq for AttrTcpipKeepalive
impl StructuralEq for AttrTcpipKeepalive
impl StructuralPartialEq for AttrTcpipKeepalive
Auto Trait Implementations
impl RefUnwindSafe for AttrTcpipKeepalive
impl Send for AttrTcpipKeepalive
impl Sync for AttrTcpipKeepalive
impl Unpin for AttrTcpipKeepalive
impl UnwindSafe for AttrTcpipKeepalive
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