[−][src]Struct openthread_sys::otCoapTxParameters
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]
fn clone(&self) -> otCoapTxParameters
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for otCoapTxParameters
[src]
impl Debug for otCoapTxParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for otCoapTxParameters
impl Send for otCoapTxParameters
impl Sync for otCoapTxParameters
impl Unpin for otCoapTxParameters
impl UnwindSafe for otCoapTxParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,