[][src]Struct openthread_sys::otCoapTxParameters

#[repr(C)]pub struct otCoapTxParameters {
    pub mAckTimeout: u32,
    pub mAckRandomFactorNumerator: u8,
    pub mAckRandomFactorDenominator: u8,
    pub mMaxRetransmit: u8,
}

This structure represents the CoAP transmission parameters.

Fields

mAckTimeout: u32

Minimum spacing before first retransmission when ACK is not received, in milliseconds (RFC7252 default value is 2000ms).

mAckRandomFactorNumerator: u8

Numerator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).

mAckRandomFactorDenominator: u8

Denominator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).

mMaxRetransmit: u8

Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).

Trait Implementations

impl Clone for otCoapTxParameters[src]

impl Copy for otCoapTxParameters[src]

impl Debug for otCoapTxParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.