pub struct OpenSyn {
pub lease: Duration,
pub initial_sn: TransportSn,
pub cookie: ZSlice,
pub ext_qos: Option<QoS>,
pub ext_auth: Option<Auth>,
pub ext_mlink: Option<MultiLinkSyn>,
pub ext_lowlatency: Option<LowLatency>,
pub ext_compression: Option<Compression>,
}Expand description
§OpenSyn message
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
~ challenge ~
+---------------+Fields§
§lease: Duration§initial_sn: TransportSn§ext_qos: Option<QoS>§ext_auth: Option<Auth>§ext_mlink: Option<MultiLinkSyn>§ext_lowlatency: Option<LowLatency>§ext_compression: Option<Compression>Trait Implementations§
Source§impl From<OpenSyn> for TransportMessage
impl From<OpenSyn> for TransportMessage
impl Eq for OpenSyn
impl StructuralPartialEq for OpenSyn
Auto Trait Implementations§
impl Freeze for OpenSyn
impl !RefUnwindSafe for OpenSyn
impl Send for OpenSyn
impl Sync for OpenSyn
impl Unpin for OpenSyn
impl !UnwindSafe for OpenSyn
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