pub struct SetupRequest {
pub byte_order: u8,
pub protocol_major_version: u16,
pub protocol_minor_version: u16,
pub authorization_protocol_name: Vec<u8>,
pub authorization_protocol_data: Vec<u8>,
}Fields§
§byte_order: u8§protocol_major_version: u16§protocol_minor_version: u16Implementations§
Source§impl SetupRequest
impl SetupRequest
Get the value of the authorization_protocol_name_len field.
The authorization_protocol_name_len field is used as the length field of the authorization_protocol_name field.
This function computes the field’s value again based on the length of the list.
§Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Get the value of the authorization_protocol_data_len field.
The authorization_protocol_data_len field is used as the length field of the authorization_protocol_data field.
This function computes the field’s value again based on the length of the list.
§Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations§
Source§impl Clone for SetupRequest
impl Clone for SetupRequest
Source§fn clone(&self) -> SetupRequest
fn clone(&self) -> SetupRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SetupRequest
Available on non-crate feature extra-traits only.
impl Debug for SetupRequest
extra-traits only.