Struct breadx::AuthInfo[][src]

pub struct AuthInfo {
    pub name: String,
    pub data: Vec<u8>,
    pub family: u16,
    pub address: Vec<u8>,
    pub number: Vec<u8>,
}
Expand description

Information needed to authorize a user to use an X11 connection.

Fields

name: Stringdata: Vec<u8>family: u16address: Vec<u8>number: Vec<u8>

Implementations

Reads in the auth info from the given reading stream.

Reads in the auth info from the given reading stream, async redox.

Reads in the auth info from the file specified by the XAUTHORITY environment variable.

Reads in the auth info from the file specified by the XAuthority variable, async redox.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.