Enum wayland_bridge::object::ObjectMapError
source · pub enum ObjectMapError {
InvalidObjectId(u32),
InvalidOpcode(u16),
}
Variants§
InvalidObjectId(u32)
An error raised if a message is received with the ‘sender’ field set to an unknown object (ex: either the object has not been created yet or it has already been deleted).
InvalidOpcode(u16)
An error raised if a message is delivered to an object with an unsupported or unknown opcode.
Trait Implementations§
source§impl Clone for ObjectMapError
impl Clone for ObjectMapError
source§fn clone(&self) -> ObjectMapError
fn clone(&self) -> ObjectMapError
Returns a copy 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 ObjectMapError
impl Debug for ObjectMapError
source§impl Display for ObjectMapError
impl Display for ObjectMapError
source§impl Error for ObjectMapError
impl Error for ObjectMapError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for ObjectMapError
Auto Trait Implementations§
impl Freeze for ObjectMapError
impl RefUnwindSafe for ObjectMapError
impl Send for ObjectMapError
impl Sync for ObjectMapError
impl Unpin for ObjectMapError
impl UnwindSafe for ObjectMapError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)