Enum wayland_protocols::unstable::xdg_shell::v6::client::zxdg_shell_v6::Error [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum Error {
Role,
DefunctSurfaces,
NotTheTopmostPopup,
InvalidPopupParent,
InvalidSurfaceState,
InvalidPositioner,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Role
given wl_surface has another role
DefunctSurfaces
xdg_shell was destroyed before children
NotTheTopmostPopup
the client tried to map or destroy a non-topmost popup
InvalidPopupParent
the client specified an invalid popup parent surface
InvalidSurfaceState
the client provided an invalid surface state
InvalidPositioner
the client provided an invalid positioner
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more