#[non_exhaustive]pub struct Error(pub u32);Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u32Implementations§
Source§impl Error
impl Error
Sourcepub const DefunctSurfaces: Self
pub const DefunctSurfaces: Self
xdg_wm_base was destroyed before children
Sourcepub const NotTheTopmostPopup: Self
pub const NotTheTopmostPopup: Self
the client tried to map or destroy a non-topmost popup
Sourcepub const InvalidPopupParent: Self
pub const InvalidPopupParent: Self
the client specified an invalid popup parent surface
Sourcepub const InvalidSurfaceState: Self
pub const InvalidSurfaceState: Self
the client provided an invalid surface state
Sourcepub const InvalidPositioner: Self
pub const InvalidPositioner: Self
the client provided an invalid positioner
Sourcepub const Unresponsive: Self
pub const Unresponsive: Self
the client didn’t respond to a ping event in time
Trait Implementations§
Source§impl Ord for Error
impl Ord for Error
Source§impl PartialOrd for Error
impl PartialOrd for Error
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin 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