Skip to main content

Crate hyprwire

Crate hyprwire 

Source
Expand description

Hyprwire client and server runtime plus scanner-generated protocol bindings.

Re-exports§

pub use error::Error;
pub use hyprwire_core as core;

Modules§

client
Client-side APIs for connecting to a Hyprwire server and dispatching generated protocol events.
error
Error types returned by the public Hyprwire API.
implementation
Traits and low-level types used by generated client/server protocol bindings.
server
Server-side APIs for hosting Hyprwire protocols and dispatching client requests.

Macros§

delegate_noop
A helper macro which delegates a set of Dispatch implementations for proxies to a static handler.
include_protocol
Includes Rust bindings generated by hyprwire-scanner from OUT_DIR.
trace

Structs§

EventQueue
An event queue

Traits§

Dispatch
Trait for receiving events from a Hyprwire interface.

Functions§

reset_trace_cache
Reset the cached trace value so that the next call to [is_trace] re-reads the environment variable. Intended for use in tests.

Type Aliases§

Result
A Result type alias that uses Error as the error type.