Struct redwm::imports::SetupFailed [−][src]
pub struct SetupFailed { pub status: u8, pub protocol_major_version: u16, pub protocol_minor_version: u16, pub length: u16, pub reason: Vec<u8, Global>, }
Fields
status: u8
protocol_major_version: u16
protocol_minor_version: u16
length: u16
reason: Vec<u8, Global>
Implementations
Get the value of the reason_len
field.
The reason_len
field is used as the length field of the reason
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetupFailed
impl Send for SetupFailed
impl Sync for SetupFailed
impl Unpin for SetupFailed
impl UnwindSafe for SetupFailed
Blanket Implementations
Mutably borrows from an owned value. Read more