Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bread-graphics/breadx
/ functions
Functions
486 in github.com/bread-graphics/breadx
⨍
Functions
486
◇
Types & classes
96
Method
make_unsupported
(us: Unsupported)
breadx/src/error.rs:135
Method
map_reply
(reply: Self::Reply)
breadx/src/display/prefetch.rs:245
Method
maximum_request_length
(&mut self)
breadx/src/display/mod.rs:579
Method
maximum_request_length
(&mut self)
breadx/src/display/basic.rs:622
Method
maximum_request_length
(&mut self)
breadx/src/display/sync.rs:212
Method
maximum_request_length
(&mut self)
breadx/src/display/cell.rs:68
Function
nb_connect
( pd: &ParsedDisplay, is_env: bool, mut resolv: impl FnMut(NameConnection) -> Fut, )
breadx/src/name/nb_connect.rs:30
Method
new
(stream: UnixStream)
breadx/src/connection/sendmsg.rs:87
Method
new
Create a new `BufConnection` from a given connection. ## Example ```rust,no_run use breadx::connection::{BufConnection, Connection, StdConnection};
breadx/src/connection/buffered.rs:159
Method
new
Create a new `TestConnection`.
breadx/src/connection/test.rs:30
Method
new
Create a new `StdConnection` wrapping around an existing connection. ## Example ```rust,no_run use breadx::connection::{Connection, StdConnection};
breadx/src/connection/std_wrapper.rs:99
Method
new
Creates a new `Unblock`.
breadx/src/utils/unblock.rs:65
Method
new
(req: T)
breadx/src/display/prefetch.rs:70
Method
new
Create a new `RawRequest` from its raw parts. # Panics Panics if: - There are less than three slices. - The third slice is not at least four bytes
breadx/src/display/raw_request.rs:116
Method
new
Creates a new, empty `Action`.
breadx/src/display/tests/sequencing.rs:31
Method
new
Creates a new connection from a display name. # Blocking This function blocks while it tries to connect to the server. Use the [`new_async`] functio
breadx/src/name/mod.rs:83
Method
new
Creates a new `TryWith` future.
breadx/src/futures/try_with.rs:41
Method
new
(dpy: &'this mut Dpy)
breadx/src/futures/synchronize.rs:33
Method
new
(dpy: &'this mut Dpy, cookie: Cookie<Reply>)
breadx/src/futures/wait_for_reply.rs:34
Method
new
(mut reader: Reader<B>)
xcb_parser/src/lib.rs:128
Method
next
(&mut self)
xcb_parser/src/lib.rs:162
Function
non_anomalous_test
()
breadx/src/connection/sendmsg.rs:402
Method
non_blocking_recv_slice_and_fds
Receive data from the X11 server into a single slice, in a non-blocking manner. # Errors Same as `non_blocking_recv_slices_and_fds`.
breadx/src/connection/mod.rs:255
Method
non_blocking_recv_slice_and_fds
( &mut self, slice: &mut [u8], fds: &mut Vec<Fd>, )
breadx/src/connection/mod.rs:320
Method
non_blocking_recv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/test.rs:100
Method
non_blocking_recv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/name/mod.rs:346
Method
parse
(reader: &mut Reader<B>)
xcb_parser/src/docs.rs:36
Method
parse
(reader: &mut Reader<B>)
xcb_parser/src/expression.rs:165
Method
parse
( start_elem: BytesStart<'_>, reader: &mut Reader<impl BufRead>, )
xcb_parser/src/eventstruct.rs:27
Method
parse
(start_elem: BytesStart<'_>, reader: &mut Reader<impl BufRead>)
xcb_parser/src/lib.rs:186
Method
parse
(reader: &mut Reader<impl BufRead>)
xcb_parser/src/toplevel.rs:71
Method
parse
( start_elem: BytesStart<'_>, reader: &mut Reader<impl BufRead>, )
xcb_parser/src/xenum.rs:27
Method
parse
(reader: &mut Reader<impl BufRead>, end: &[u8])
xcb_parser/src/fields.rs:28
Method
parse
( start_elem: BytesStart<'_>, reader: &mut Reader<impl BufRead>, )
xcb_parser/src/xstruct.rs:24
Function
parse_all_protocol
()
xcb_parser/tests/parse_xproto_test.rs:14
Method
parse_with_start_elem
( start_elem: BytesStart<'_>, reader: &mut Reader<B>, is_empty: bool, )
xcb_parser/src/expression.rs:91
Method
partial_cmp
(&self, other: &Self)
breadx/src/display/cookie.rs:40
Method
partial_flush
(&mut self)
breadx/src/display/basic.rs:389
Method
partial_synchronize
Try to synchronize this client with the X11 server.
breadx/src/display/basic.rs:400
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/send_request.rs:87
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/generate_xid.rs:41
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/send_request_raw.rs:73
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/try_with.rs:66
Method
poll
( self: core::pin::Pin<&mut Self>, ctx: &mut core::task::Context<'_>, )
breadx/src/futures/checked.rs:45
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/synchronize.rs:45
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/check_for_error.rs:46
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/wait_for_event.rs:39
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/wait_for_reply_raw.rs:65
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/wait_for_reply.rs:58
Method
poll
(self: Pin<&mut Self>, ctx: &mut Context<'_>)
breadx/src/futures/flush.rs:41
Method
poll_for_event
(&mut self)
breadx/src/display/mod.rs:545
Method
poll_for_event
(&mut self)
breadx/src/display/basic.rs:580
Method
poll_for_event
(&mut self)
breadx/src/display/sync.rs:164
Method
poll_for_event
(&mut self)
breadx/src/display/cell.rs:50
Method
poll_for_event
(&mut self)
breadx/src/rt_support/tokio_support.rs:292
Method
poll_for_event
(&mut self)
breadx/src/rt_support/async_std_support.rs:281
Method
poll_for_interest
( &mut self, interest: Interest, callback: &mut dyn FnMut(&mut dyn AsyncDisplay, &mut
breadx/src/rt_support/async_std_support.rs:55
Method
poll_for_reply
Poll for a reply matching the given sequence number.
breadx/src/display/ext.rs:25
Method
poll_for_reply_raw
(&mut self, seq: u64)
breadx/src/display/basic.rs:575
Method
poll_for_reply_raw
(&mut self, seq: u64)
breadx/src/display/sync.rs:168
Method
poll_for_reply_raw
(&mut self, seq: u64)
breadx/src/display/cell.rs:46
Method
poll_for_reply_raw
(&mut self, seq: u64)
breadx/src/rt_support/tokio_support.rs:296
Method
poll_for_reply_raw
(&mut self, seq: u64)
breadx/src/rt_support/async_std_support.rs:285
Method
poll_inner
( &self, ctx: &mut Context<'_>, f: impl FnOnce(&mut Dpy, &mut Context<'_>) -> Poll<Res
breadx/src/display/sync.rs:122
Method
poll_next
( self: core::pin::Pin<&mut Self>, ctx: &mut Context<'_>, )
breadx/src/utils/unblock.rs:183
Method
polling
(display: &'this mut Dpy)
breadx/src/futures/generate_xid.rs:30
Method
polling
(display: &'this mut Dpy, request: RawRequest<'_, '_>)
breadx/src/futures/send_request_raw.rs:29
Method
polling
(display: &'this mut Dpy, seq: u64)
breadx/src/futures/check_for_error.rs:29
Method
polling
(display: &'this mut Dpy)
breadx/src/futures/wait_for_event.rs:28
Method
polling
(display: &'this mut Dpy, seq: u64)
breadx/src/futures/wait_for_reply_raw.rs:31
Method
polling
(display: &'this mut Dpy)
breadx/src/futures/flush.rs:30
Method
prefetch_extension
( &mut self, name: &'static str, ctx: Option<&Waker>, strategy: &mut impl Stra
breadx/src/display/basic.rs:344
Method
prefetch_maximum_length
( &mut self, ctx: Option<&Waker>, strategy: &mut impl Strategy<Conn>, )
breadx/src/display/basic.rs:275
Method
ready
Convert the `AsyncStatus` into an `Option`.
breadx/src/display/mod.rs:366
Method
recv_slice
Read data for a single I/O slice. This calls the platform's reading utility to read into the buffer, and returns the total number of bytes read. By d
breadx/src/connection/mod.rs:206
Method
recv_slice_and_fds
Read data to a single I/O slice and a buffer for file descriptors. This calls the platform's reading utility to read into the buffers, and returns th
breadx/src/connection/mod.rs:183
Method
recv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/name/mod.rs:306
Method
recvmsg
Call `recvmsg` with the given `MsgFlags`.
breadx/src/connection/sendmsg.rs:98
Method
reply_fds_request
Indicate that the client should send a request with a reply and FDs.
breadx/src/display/tests/sequencing.rs:103
Method
reply_request
Indicate that the client should send a request with a reply.
breadx/src/display/tests/sequencing.rs:89
Method
respond_with_setup
Write the testing setup from the server.
breadx/src/display/tests/sequencing.rs:123
Function
send_and_recv_test
()
breadx/src/connection/sendmsg.rs:376
Method
send_reply_fd_request
Send a request with a reply containing file descriptors.
breadx/src/display/ext.rs:66
Method
send_reply_request
Send a request with a reply.
breadx/src/display/ext.rs:57
Method
send_request_raw
(&mut self, mut req: RawRequest<'_, '_>)
breadx/src/display/basic.rs:587
Method
send_request_raw
(&mut self, req: RawRequest<'_, '_>)
breadx/src/display/sync.rs:192
Method
send_request_raw
(&mut self, req: RawRequest<'_, '_>)
breadx/src/display/cell.rs:56
Method
send_slice
Write a slice of data to the X11 server. This calls the platform's writing utility to write the slice, and returs the number of bytes written. By def
breadx/src/connection/mod.rs:141
Method
send_slices
Write a series of I/O slices to the X11 server. This calls the platform's writing utility to write the slices, and returns the number of bytes writte
breadx/src/connection/mod.rs:124
Method
send_slices
(&mut self, slices: &[crate::connection::IoSlice<'_>])
breadx/src/name/mod.rs:314
Method
sendmsg
Call the sendmsg() function for the socket.
breadx/src/connection/sendmsg.rs:152
Method
sent_from_client
Receive bytes from the client.
breadx/src/display/tests/sequencing.rs:43
Method
sent_from_server
Receive bytes from the server.
breadx/src/display/tests/sequencing.rs:49
Method
setup
(&self)
breadx/src/display/basic.rs:567
Method
setup
(&self)
breadx/src/rt_support/tokio_support.rs:284
Method
setup
(&self)
breadx/src/rt_support/async_std_support.rs:273
Method
setup_request
Write a setup request from the client.
breadx/src/display/tests/sequencing.rs:116
Method
shutdown
(&self)
breadx/src/connection/mod.rs:328
Method
shutdown
(&self)
breadx/src/connection/buffered.rs:531
Method
shutdown
(&self)
breadx/src/connection/test.rs:96
← previous
next →
301–400 of 486, ranked by callers