Enum wayland_protocols::xdg_shell::client::xdg_wm_base::Error
source · #[non_exhaustive]#[repr(u32)]pub enum Error {
Role = 0,
DefunctSurfaces = 1,
NotTheTopmostPopup = 2,
InvalidPopupParent = 3,
InvalidSurfaceState = 4,
InvalidPositioner = 5,
}
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 = 0
given wl_surface has another role
DefunctSurfaces = 1
xdg_wm_base was destroyed before children
NotTheTopmostPopup = 2
the client tried to map or destroy a non-topmost popup
InvalidPopupParent = 3
the client specified an invalid popup parent surface
InvalidSurfaceState = 4
the client provided an invalid surface state
InvalidPositioner = 5
the client provided an invalid positioner
Implementations§
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
impl Copy for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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