[][src]Struct rubble::link::data::ConnectionUpdateData

pub struct ConnectionUpdateData { /* fields omitted */ }

Data transmitted with an LL_CONNECTION_UPDATE_REQ Control PDU, containing a new set of connection parameters.

Methods

impl ConnectionUpdateData[src]

pub fn win_size(&self) -> Duration[src]

Returns the size of the transmit window for the first PDU of the connection.

pub fn win_offset(&self) -> Duration[src]

Returns the offset of the transmit window, as a duration since the instant.

pub fn interval(&self) -> Duration[src]

Returns the duration between connection events.

pub fn latency(&self) -> u16[src]

Returns the slave latency.

pub fn timeout(&self) -> Duration[src]

Returns the connection supervision timeout (connSupervisionTimeout).

pub fn instant(&self) -> u16[src]

Returns the instant at which these changes should take effect.

Trait Implementations

impl Copy for ConnectionUpdateData[src]

impl Debug for ConnectionUpdateData[src]

impl Clone for ConnectionUpdateData[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

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