Enum wayland_server::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
InvalidFormatbuffer format is not known
InvalidStrideinvalid size or stride during pool or buffer creation
InvalidFdmmapping 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