#[repr(C)]pub struct sLinkLayerParameters {
pub addressLength: c_int,
pub timeoutForAck: c_int,
pub timeoutRepeat: c_int,
pub useSingleCharACK: bool,
pub timeoutLinkState: c_int,
}Fields§
§addressLength: c_int§timeoutForAck: c_intLength of link layer address (1 or 2 byte)
timeoutRepeat: c_inttimeout for link layer ACK in ms
useSingleCharACK: booltimeout for repeated message transmission when no ACK received in ms
timeoutLinkState: c_intuse single char ACK for ACK (FC=0) or RESP_NO_USER_DATA (FC=9)
Trait Implementations§
Source§impl Clone for sLinkLayerParameters
impl Clone for sLinkLayerParameters
Source§fn clone(&self) -> sLinkLayerParameters
fn clone(&self) -> sLinkLayerParameters
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 sLinkLayerParameters
impl Debug for sLinkLayerParameters
Source§impl Default for sLinkLayerParameters
impl Default for sLinkLayerParameters
Source§fn default() -> sLinkLayerParameters
fn default() -> sLinkLayerParameters
Returns the “default value” for a type. Read more
Source§impl Hash for sLinkLayerParameters
impl Hash for sLinkLayerParameters
Source§impl PartialEq for sLinkLayerParameters
impl PartialEq for sLinkLayerParameters
impl Copy for sLinkLayerParameters
impl Eq for sLinkLayerParameters
impl StructuralPartialEq for sLinkLayerParameters
Auto Trait Implementations§
impl Freeze for sLinkLayerParameters
impl RefUnwindSafe for sLinkLayerParameters
impl Send for sLinkLayerParameters
impl Sync for sLinkLayerParameters
impl Unpin for sLinkLayerParameters
impl UnwindSafe for sLinkLayerParameters
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