pub struct ColorTransformSynchronousProxy { /* private fields */ }
Implementations§
source§impl ColorTransformSynchronousProxy
impl ColorTransformSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<ColorTransformEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<ColorTransformEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn register_color_transform_handler(
&self,
handler: ClientEnd<ColorTransformHandlerMarker>
) -> Result<(), Error>
pub fn register_color_transform_handler( &self, handler: ClientEnd<ColorTransformHandlerMarker> ) -> Result<(), Error>
Registers a handler for changes in the color transform configuration.