Enum wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_v1::Event
source · #[non_exhaustive]pub enum Event {
Succeeded,
Failed,
Cancelled,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Succeeded
configuration changes succeeded
Sent after the compositor has successfully applied the changes or tested them.
Upon receiving this event, the client should destroy this object.
If the current configuration has changed, events to describe the changes will be sent followed by a wlr_output_manager.done event.
Failed
configuration changes failed
Sent if the compositor rejects the changes or failed to apply them. The compositor should revert any changes made by the apply request that triggered this event.
Upon receiving this event, the client should destroy this object.
Cancelled
configuration has been cancelled
Sent if the compositor cancels the configuration because the state of an output changed and the client has outdated information (e.g. after an output has been hotplugged).
The client can create a new configuration with a newer serial and try again.
Upon receiving this event, the client should destroy this object.
Trait Implementations§
source§impl MessageGroup for Event
impl MessageGroup for Event
source§const MESSAGES: &'static [MessageDesc] = _
const MESSAGES: &'static [MessageDesc] = _
§type Map = ProxyMap
type Map = ProxyMap
source§fn is_destructor(&self) -> bool
fn is_destructor(&self) -> bool
source§fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn child<Meta: ObjectMetadata>( opcode: u16, version: u32, meta: &Meta ) -> Option<Object<Meta>>
Object
associated with this message if any