Enum wayland_client::protocol::wl_shm::Error
[−]
[src]
#[repr(u32)]pub enum Error { InvalidFormat, InvalidStride, InvalidFd, }
wl_shm error values
These errors can be emitted in response to wl_shm requests.
Variants
InvalidFormat
buffer format is not known
InvalidStride
invalid size or stride during pool or buffer creation
InvalidFd
mmapping the file descriptor failed
Methods
impl Error
[src]
Trait Implementations
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more