Struct mux::Init
[−]
[src]
pub struct Init { pub version: u16, pub headers: Contexts, }
Representation of a mux Tinit
and Rinit
frame.
Tinit
and Rinit
frames are used for negotiation of the mux protocol
version and behavior. A Tinit
is typically sent by the client at the
beginning of the session. Until a Rinit
is received the client cannot
issue any more T messages. Once the Rinit
is received, the session state
is considered reset. The version return in Rinit
is the accepted protocol
version and may be lower than that of the issued Tinit
.
Fields
version: u16
Mux protocol version.
headers: Contexts
Additional negotiation related information.
Trait Implementations
impl PartialEq for Init
[src]
fn eq(&self, __arg_0: &Init) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Init) -> bool
This method tests for !=
.