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

buffer format is not known

invalid size or stride during pool or buffer creation

mmapping the file descriptor failed

Methods

impl Error
[src]

[src]

[src]

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.