Enum wayland_client::protocol::wl_data_offer::Error
source · #[non_exhaustive]#[repr(u32)]pub enum Error {
InvalidFinish = 0,
InvalidActionMask = 1,
InvalidAction = 2,
InvalidOffer = 3,
}
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.
InvalidFinish = 0
finish request was called untimely
InvalidActionMask = 1
action mask contains invalid values
InvalidAction = 2
action argument has an invalid value
InvalidOffer = 3
offer doesn’t accept this request
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