pub struct WorkerWindow { /* private fields */ }Expand description
One window connection with one owner-held frame credit. Receiving an ACK on the transport worker does not release credit until the application drains it. No connection, frame, input or close request is replayed after an error.
Implementations§
Source§impl WorkerWindow
impl WorkerWindow
pub fn connect(path: &Path, create: Create) -> Result<Self>
Sourcepub fn connect_with_options(
path: &Path,
create: Create,
options: ClientOptions,
) -> Result<Self>
pub fn connect_with_options( path: &Path, create: Create, options: ClientOptions, ) -> Result<Self>
Connect once with explicit options; unsupported servers are not retried.
Sourcepub fn relative_pointer_enabled(&self) -> bool
pub fn relative_pointer_enabled(&self) -> bool
Negotiation is visible only after this owner drains the matching configure.
pub fn configuration(&self) -> Option<Configure>
pub fn window_id(&self) -> Option<u64>
pub fn can_submit(&self) -> bool
pub fn wants_write(&self) -> bool
pub fn submit(&mut self, frame: Frame) -> Result<()>
pub fn poll(&mut self) -> Result<Vec<Event>>
Trait Implementations§
Source§impl AsRawFd for WorkerWindow
impl AsRawFd for WorkerWindow
Source§impl Drop for WorkerWindow
impl Drop for WorkerWindow
Auto Trait Implementations§
impl !RefUnwindSafe for WorkerWindow
impl !UnwindSafe for WorkerWindow
impl Freeze for WorkerWindow
impl Send for WorkerWindow
impl Sync for WorkerWindow
impl Unpin for WorkerWindow
impl UnsafeUnpin for WorkerWindow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more