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]
impl Error
Trait Implementations
impl Copy for Error
[src]
impl Copy for Error
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error