Struct x11rb::protocol::xproto::SetupAuthenticate[][src]

pub struct SetupAuthenticate {
    pub status: u8,
    pub reason: Vec<u8>,
}

Fields

status: u8reason: Vec<u8>

Implementations

impl SetupAuthenticate[src]

pub fn length(&self) -> u16[src]

Get the value of the length field.

The length 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

impl Clone for SetupAuthenticate[src]

impl Debug for SetupAuthenticate[src]

impl Eq for SetupAuthenticate[src]

impl PartialEq<SetupAuthenticate> for SetupAuthenticate[src]

impl Serialize for SetupAuthenticate[src]

type Bytes = Vec<u8>

The value returned by serialize. Read more

impl StructuralEq for SetupAuthenticate[src]

impl StructuralPartialEq for SetupAuthenticate[src]

impl TryParse for SetupAuthenticate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> TryParseFd for T where
    T: TryParse
[src]