pub struct OpenAck {
pub lease: Duration,
pub initial_sn: TransportSn,
pub ext_qos: Option<QoS>,
pub ext_auth: Option<Auth>,
pub ext_mlink: Option<MultiLinkAck>,
pub ext_lowlatency: Option<LowLatency>,
pub ext_compression: Option<Compression>,
}Expand description
§OpenAck message
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
~ ack ~
+---------------+Fields§
§lease: Duration§initial_sn: TransportSn§ext_qos: Option<QoS>§ext_auth: Option<Auth>§ext_mlink: Option<MultiLinkAck>§ext_lowlatency: Option<LowLatency>§ext_compression: Option<Compression>Trait Implementations§
Source§impl From<OpenAck> for TransportMessage
impl From<OpenAck> for TransportMessage
impl Eq for OpenAck
impl StructuralPartialEq for OpenAck
Auto Trait Implementations§
impl Freeze for OpenAck
impl !RefUnwindSafe for OpenAck
impl Send for OpenAck
impl Sync for OpenAck
impl Unpin for OpenAck
impl !UnwindSafe for OpenAck
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more