pub struct BasicDisplay<Conn> { /* private fields */ }
Expand description

An implementation of Display that requires a mutable reference to use.

Implementations

Connect to the server using the given display name.

Create a new BasicDisplay from an existing connection and a Setup.

Connect to the X11 server, using the given connection and auth information.

Blocking

This function is expected to block, and is not built around not blocking. Using a non-blocking connection with this object will result in a fatal error.

Trait Implementations

Extracts the raw file descriptor. Read more

Partially format the request. Read more

Partially send the request. Read more

Flush the output buffer. Read more

Generate a unique XID. Read more

Get the maximum length of a request that can be sent. Read more

Wait for an event. Read more

Wait for the reply. Read more

Try to check for an error.

Send a raw request to the X11 server. Read more

Wait for a reply from the X11 server. Read more

Wait for an event. Read more

Get a unique ID valid for use by the server. Read more

Get the maximum request length that can be sent. Read more

Flush all pending requests to the server. Read more

Check for an error for the given sequence number. Read more

Synchronize this display with the server. Read more

Get the Setup associated with this display. Read more

Get the screen associated with this display. Read more

Poll to see if a reply matching the sequence number has been received. Read more

Poll to see if we have received an event. Read more

Get the screens for this display. Read more

Get the default screen for this display. 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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more