pub struct WlDisplayError(pub u32);Expand description
global error values
These errors are global and can be emitted in response to any server request.
Tuple Fields§
§0: u32Implementations§
Source§impl WlDisplayError
impl WlDisplayError
Sourcepub const INVALID_OBJECT: Self
pub const INVALID_OBJECT: Self
server couldn’t find object
Sourcepub const INVALID_METHOD: Self
pub const INVALID_METHOD: Self
method doesn’t exist on the specified interface or malformed request
Sourcepub const IMPLEMENTATION: Self
pub const IMPLEMENTATION: Self
implementation error in compositor
Trait Implementations§
Source§impl Clone for WlDisplayError
impl Clone for WlDisplayError
Source§fn clone(&self) -> WlDisplayError
fn clone(&self) -> WlDisplayError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WlDisplayError
impl Debug for WlDisplayError
Source§impl Hash for WlDisplayError
impl Hash for WlDisplayError
Source§impl Ord for WlDisplayError
impl Ord for WlDisplayError
Source§fn cmp(&self, other: &WlDisplayError) -> Ordering
fn cmp(&self, other: &WlDisplayError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WlDisplayError
impl PartialEq for WlDisplayError
Source§impl PartialOrd for WlDisplayError
impl PartialOrd for WlDisplayError
impl Copy for WlDisplayError
impl Eq for WlDisplayError
impl StructuralPartialEq for WlDisplayError
Auto Trait Implementations§
impl Freeze for WlDisplayError
impl RefUnwindSafe for WlDisplayError
impl Send for WlDisplayError
impl Sync for WlDisplayError
impl Unpin for WlDisplayError
impl UnwindSafe for WlDisplayError
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